Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001678/0.001678, allocations: 101.3 kB / 19.73 MB, free: 2.133 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002051/0.002051, allocations: 223.6 kB / 23.03 MB, free: 4.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.546/1.546, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.8 MB / 0.7715 GB, free: 3.871 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour,fileNamePrefix="Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002211/0.002211, allocations: 65.28 kB / 1.118 GB, free: 40.25 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3191/0.3213, allocations: 170 MB / 1.284 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour): time 0.002542/0.3239, allocations: 0.7921 MB / 1.285 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001521/0.324, allocations: 43.78 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.614e-05/0.3241, allocations: 7.875 kB / 1.285 GB, free: 9.957 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.943e-05/0.3241, allocations: 7.875 kB / 1.285 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 9.244e-05/0.3242, allocations: 3.938 kB / 1.285 GB, free: 9.945 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 5.413e-05/0.3243, allocations: 19.98 kB / 1.285 GB, free: 9.926 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001294/0.3244, allocations: 67.83 kB / 1.285 GB, free: 9.859 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001445/0.3246, allocations: 35.66 kB / 1.285 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.706e-05/0.3246, allocations: 23.86 kB / 1.285 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.948e-05/0.3247, allocations: 27.8 kB / 1.285 GB, free: 9.777 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.663e-05/0.3247, allocations: 4 kB / 1.285 GB, free: 9.773 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 1.184e-05/0.3247, allocations: 8 kB / 1.285 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.292e-05/0.3248, allocations: 23.91 kB / 1.285 GB, free: 9.742 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.645e-05/0.3248, allocations: 19.88 kB / 1.285 GB, free: 9.723 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001294/0.3249, allocations: 80.98 kB / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.477e-06/0.3249, allocations: 0 / 1.285 GB, free: 9.645 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.593e-06/0.3249, allocations: 4 kB / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.169e-06/0.3249, allocations: 0 / 1.285 GB, free: 9.641 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.0004363/0.3254, allocations: 306 kB / 1.286 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.3254, allocations: 12.03 kB / 1.286 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.507e-05/0.3254, allocations: 4.125 kB / 1.286 GB, free: 9.293 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.785e-05/0.3255, allocations: 42.73 kB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.662e-05/0.3255, allocations: 8.891 kB / 1.286 GB, free: 9.234 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000198/0.3257, allocations: 138.3 kB / 1.286 GB, free: 9.074 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.3257, allocations: 4.375 kB / 1.286 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.522e-05/0.3257, allocations: 12.38 kB / 1.286 GB, free: 9.059 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/0.3259, allocations: 95.61 kB / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3259, allocations: 0 / 1.286 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.265e-05/0.3259, allocations: 8 kB / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.3259, allocations: 0 / 1.286 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.018e-05/0.326, allocations: 35.92 kB / 1.286 GB, free: 8.91 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005588/0.3265, allocations: 395.8 kB / 1.286 GB, free: 8.477 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.909e-05/0.3266, allocations: 41.34 kB / 1.286 GB, free: 8.418 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.3267, allocations: 13.78 kB / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 7.123e-06/0.3267, allocations: 0 / 1.286 GB, free: 8.398 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.738e-05/0.3267, allocations: 50.48 kB / 1.286 GB, free: 8.34 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=2): time 2.755e-06/0.3267, allocations: 3.984 kB / 1.286 GB, free: 8.336 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2): time 0.0001751/0.3269, allocations: 49.59 kB / 1.286 GB, free: 8.281 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.83e-05/0.3269, allocations: 81.05 kB / 1.286 GB, free: 8.184 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001639/0.3271, allocations: 156.5 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.758e-05/0.3271, allocations: 37.64 kB / 1.287 GB, free: 7.977 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 8.31e-05/0.3272, allocations: 108 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 8.416e-06/0.3272, allocations: 3.953 kB / 1.287 GB, free: 7.863 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.005e-05/0.3273, allocations: 17.72 kB / 1.287 GB, free: 7.84 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001505/0.3274, allocations: 327.1 kB / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.629e-05/0.3274, allocations: 0 / 1.287 GB, free: 7.512 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.893e-05/0.3275, allocations: 21.72 kB / 1.287 GB, free: 7.484 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.191e-05/0.3275, allocations: 25.7 kB / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.3275, allocations: 0 / 1.287 GB, free: 7.453 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.611e-05/0.3276, allocations: 57.59 kB / 1.287 GB, free: 7.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.755e-05/0.3276, allocations: 11.94 kB / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.3276, allocations: 0 / 1.287 GB, free: 7.379 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.3276, allocations: 4 kB / 1.287 GB, free: 7.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.3277, allocations: 15.98 kB / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.789e-06/0.3277, allocations: 0 / 1.287 GB, free: 7.359 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.176e-05/0.3277, allocations: 3.953 kB / 1.287 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.584e-06/0.3278, allocations: 4 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.628e-05/0.3278, allocations: 117.8 kB / 1.287 GB, free: 7.227 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.914e-05/0.3279, allocations: 11.89 kB / 1.287 GB, free: 7.215 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.324e-05/0.3279, allocations: 7.812 kB / 1.287 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.29e-06/0.3279, allocations: 7.984 kB / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.3279, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3279, allocations: 0 / 1.287 GB, free: 7.199 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004375/0.3284, allocations: 445.8 kB / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.3284, allocations: 0 / 1.288 GB, free: 6.707 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.211e-05/0.3284, allocations: 4 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/0.3284, allocations: 0 / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.3284, allocations: 4 kB / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.3284, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.3284, allocations: 0 / 1.288 GB, free: 6.699 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001028/0.3285, allocations: 81.88 kB / 1.288 GB, free: 6.598 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.717e-05/0.3285, allocations: 7.953 kB / 1.288 GB, free: 6.59 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.49e-05/0.3286, allocations: 12.03 kB / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.103e-05/0.3286, allocations: 0 / 1.288 GB, free: 6.578 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.3286, allocations: 3.984 kB / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-06/0.3286, allocations: 0 / 1.288 GB, free: 6.574 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001115/0.3287, allocations: 124.3 kB / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.3287, allocations: 0 / 1.288 GB, free: 6.453 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001966/0.3289, allocations: 11.95 kB / 1.288 GB, free: 6.441 MB / 0.9825 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004221/0.3293, allocations: 0.6132 MB / 1.289 GB, free: 5.797 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.244e-05/0.3294, allocations: 23.91 kB / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3294, allocations: 0 / 1.289 GB, free: 5.773 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.11e-05/0.3294, allocations: 4 kB / 1.289 GB, free: 5.77 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001533/0.3296, allocations: 10.34 kB / 1.289 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001321/0.3309, allocations: 1.333 MB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.821e-05/0.331, allocations: 83.39 kB / 1.29 GB, free: 4.23 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 3.232e-05/0.331, allocations: 12.42 kB / 1.29 GB, free: 4.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.064e-05/0.3311, allocations: 31.36 kB / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of SimCode: time 3.71e-07/0.3311, allocations: 0 / 1.29 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02241/0.3535, allocations: 1.761 MB / 1.292 GB, free: 2.586 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.74/12.09, allocations: 6.703 kB / 1.292 GB, free: 2.582 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; mkfifo Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe ; head -c 1048576 < Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe >> ../files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat --tempDir=temp_Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour_fmu --startTime=0 --stopTime=10 --stepSize=0.004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.fmu > Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Controls_OBC_UnitConversions_Validation_From_BtuPerHour.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Controls.OBC.UnitConversions.Validation.From_BtuPerHour.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.884872780996375]