Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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.001181/0.001181, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001316/0.001316, allocations: 208.3 kB / 22.24 MB, free: 5.262 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.308/1.308, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.924/2.924, allocations: 0.5107 GB / 0.8158 GB, free: 17.81 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater,fileNamePrefix="Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater",fmuType="me",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.001911/0.001911, allocations: 73.11 kB / 1.186 GB, free: 13.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2929, allocations: 181.9 MB / 1.363 GB, free: 14.09 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater): time 0.00252/0.2954, allocations: 1.394 MB / 1.365 GB, free: 12.68 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.003735/0.2992, allocations: 2.767 MB / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/0.2992, allocations: 0 / 1.367 GB, free: 9.898 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 7.28e-05/0.2993, allocations: 7.938 kB / 1.367 GB, free: 9.891 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.0001106/0.2994, allocations: 43.8 kB / 1.367 GB, free: 9.848 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006175/0.3, allocations: 183.4 kB / 1.368 GB, free: 9.668 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0002675/0.3003, allocations: 247.5 kB / 1.368 GB, free: 9.426 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 3.436e-05/0.3003, allocations: 11.94 kB / 1.368 GB, free: 9.414 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001209/0.3004, allocations: 91.91 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001719/0.3006, allocations: 127.7 kB / 1.368 GB, free: 9.199 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 3.485e-05/0.3007, allocations: 12 kB / 1.368 GB, free: 9.188 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004009/0.3011, allocations: 135.8 kB / 1.368 GB, free: 9.055 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001048/0.3012, allocations: 87.81 kB / 1.368 GB, free: 8.969 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001067/0.3013, allocations: 83.7 kB / 1.368 GB, free: 8.887 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0004139/0.3017, allocations: 275.1 kB / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.037e-06/0.3017, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.583e-06/0.3017, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.574e-06/0.3017, allocations: 0 / 1.369 GB, free: 8.617 MB / 1.061 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.0008233/0.3025, allocations: 473.1 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 4.201e-05/0.3026, allocations: 12.03 kB / 1.369 GB, free: 8.113 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.231e-05/0.3026, allocations: 54.73 kB / 1.369 GB, free: 8.051 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000109/0.3027, allocations: 20.84 kB / 1.369 GB, free: 8.031 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.303, allocations: 178.3 kB / 1.369 GB, free: 7.832 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.943e-05/0.3031, allocations: 32.36 kB / 1.369 GB, free: 7.801 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.083e-05/0.3031, allocations: 16.36 kB / 1.369 GB, free: 7.785 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006431/0.3037, allocations: 296.8 kB / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.638e-06/0.3037, allocations: 0 / 1.37 GB, free: 7.488 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.905e-05/0.3038, allocations: 4 kB / 1.37 GB, free: 7.484 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3038, allocations: 4 kB / 1.37 GB, free: 7.48 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001493/0.3053, allocations: 0.7217 MB / 1.37 GB, free: 6.758 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003623/0.3056, allocations: 264.2 kB / 1.371 GB, free: 6.457 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001623/0.3072, allocations: 0.6479 MB / 1.371 GB, free: 5.797 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005004/0.3078, allocations: 216.6 kB / 1.372 GB, free: 5.582 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002986/0.308, allocations: 79.89 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.471e-05/0.3081, allocations: 38.56 kB / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of pre-optimization done (n=37): time 1.853e-06/0.3081, allocations: 0 / 1.372 GB, free: 5.457 MB / 1.061 GB Notification: Performance of matching and sorting (n=37): time 0.001615/0.3097, allocations: 0.6505 MB / 1.372 GB, free: 4.801 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.712e-05/0.3097, allocations: 67.33 kB / 1.372 GB, free: 4.723 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/0.3099, allocations: 122.1 kB / 1.372 GB, free: 4.594 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.08e-05/0.3099, allocations: 33.7 kB / 1.372 GB, free: 4.555 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.505e-05/0.3099, allocations: 92.78 kB / 1.373 GB, free: 4.461 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001184/0.3101, allocations: 122.9 kB / 1.373 GB, free: 4.34 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001001/0.3102, allocations: 69.67 kB / 1.373 GB, free: 4.266 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001368/0.3103, allocations: 322.8 kB / 1.373 GB, free: 3.941 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004758/0.3108, allocations: 203.7 kB / 1.373 GB, free: 3.742 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004685/0.3112, allocations: 195.8 kB / 1.373 GB, free: 3.551 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009105/0.3121, allocations: 365 kB / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.575e-06/0.3122, allocations: 0 / 1.374 GB, free: 3.191 MB / 1.061 GB Notification: Performance of matching and sorting (n=37) (initialization): time 0.001053/0.3132, allocations: 464.6 kB / 1.374 GB, free: 2.73 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.3132, allocations: 4 kB / 1.374 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.3132, allocations: 0 / 1.374 GB, free: 2.727 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.77e-05/0.3132, allocations: 8 kB / 1.374 GB, free: 2.719 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003574/0.3136, allocations: 103.8 kB / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.3136, allocations: 0 / 1.374 GB, free: 2.617 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001835/0.3138, allocations: 51.78 kB / 1.374 GB, free: 2.566 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.739e-05/0.3138, allocations: 12 kB / 1.374 GB, free: 2.555 MB / 1.061 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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 0.0001311/0.3139, allocations: 141.8 kB / 1.375 GB, free: 2.406 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.605e-05/0.314, allocations: 23.84 kB / 1.375 GB, free: 2.383 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001194/0.3152, allocations: 0.5128 MB / 1.375 GB, free: 1.863 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.584e-06/0.3152, allocations: 7.984 kB / 1.375 GB, free: 1.855 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.385e-06/0.3152, allocations: 4 kB / 1.375 GB, free: 1.852 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.861e-06/0.3152, allocations: 3.984 kB / 1.375 GB, free: 1.848 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003384/0.3155, allocations: 264.5 kB / 1.375 GB, free: 1.547 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.43e-06/0.3156, allocations: 3.938 kB / 1.375 GB, free: 1.543 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003333/0.3159, allocations: 95.86 kB / 1.375 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.3159, allocations: 0 / 1.375 GB, free: 1.449 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.61e-05/0.3159, allocations: 15.98 kB / 1.375 GB, free: 1.434 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.102e-06/0.3159, allocations: 8 kB / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3159, allocations: 0 / 1.375 GB, free: 1.426 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001093/0.317, allocations: 0.4885 MB / 1.376 GB, free: 0.918 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 3.847e-05/0.3171, allocations: 27.73 kB / 1.376 GB, free: 0.8906 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.639e-05/0.3171, allocations: 12 kB / 1.376 GB, free: 0.8789 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3173, allocations: 35.95 kB / 1.376 GB, free: 0.8438 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002393/0.3175, allocations: 123.7 kB / 1.376 GB, free: 0.7227 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.658e-05/0.3175, allocations: 12 kB / 1.376 GB, free: 0.7109 MB / 1.061 GB Notification: Performance of sorting global known variables: time 7.404e-05/0.3176, allocations: 99.25 kB / 1.376 GB, free: 0.6133 MB / 1.061 GB Notification: Performance of sort global known variables: time 9e-08/0.3176, allocations: 4 kB / 1.376 GB, free: 0.6094 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0003802/0.318, allocations: 115.8 kB / 1.376 GB, free: 0.4961 MB / 1.061 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (37): * Single equations (assignments): 37 * 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.001647/0.3196, allocations: 1.131 MB / 1.377 GB, free: 15.34 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.3207, allocations: 451.3 kB / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.3207, allocations: 0 / 1.378 GB, free: 14.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0005484/0.3213, allocations: 243.7 kB / 1.378 GB, free: 14.66 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003869/0.3216, allocations: 79.92 kB / 1.378 GB, free: 14.58 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004215/0.3259, allocations: 2.681 MB / 1.381 GB, free: 11.81 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001105/0.326, allocations: 114.5 kB / 1.381 GB, free: 11.68 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0004141/0.3264, allocations: 180 kB / 1.381 GB, free: 11.51 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001328/0.3265, allocations: 63.39 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of SimCode: time 7.02e-07/0.3265, allocations: 4 kB / 1.381 GB, free: 11.45 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03538/0.3619, allocations: 8.41 MB / 1.389 GB, free: 3.277 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.5/10.86, allocations: 3.75 kB / 1.389 GB, free: 3.277 MB / 1.076 GB " [Timeout remaining time 289] (rm -f Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; mkfifo Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe >> ../files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.fmu > Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Antifreeze_Validation_PropyleneGlycolWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Antifreeze.Validation.PropyleneGlycolWater.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: 16.878856104798615]