Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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.001313/0.001313, allocations: 109.5 kB / 19.73 MB, free: 2.238 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.001407/0.001407, allocations: 220 kB / 23.04 MB, free: 5.078 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.51/1.51, allocations: 230.6 MB / 256.8 MB, free: 8.043 MB / 206.1 MB " [Timeout remaining time 178] 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 3.301/3.301, allocations: 0.5003 GB / 0.8062 GB, free: 26.8 MB / 0.6231 GB " [Timeout remaining time 176] 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.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties",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.002019/0.002019, allocations: 65.91 kB / 1.171 GB, free: 19.81 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4531/0.4551, allocations: 179 MB / 1.345 GB, free: 472 kB / 1.029 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.007158/0.4623, allocations: 4.534 MB / 1.35 GB, free: 11.89 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.003525/0.4658, allocations: 2.726 MB / 1.352 GB, free: 9.16 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.418e-05/0.4659, allocations: 7.938 kB / 1.352 GB, free: 9.152 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0003317/0.4662, allocations: 47.67 kB / 1.352 GB, free: 9.105 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0003437/0.4666, allocations: 99.41 kB / 1.353 GB, free: 9.008 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.001473/0.4681, allocations: 0.513 MB / 1.353 GB, free: 8.496 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.0003834/0.4684, allocations: 232 kB / 1.353 GB, free: 8.27 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 6.395e-05/0.4685, allocations: 9.75 kB / 1.353 GB, free: 8.258 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001262/0.4698, allocations: 0.491 MB / 1.354 GB, free: 7.766 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001528/0.4699, allocations: 87.66 kB / 1.354 GB, free: 7.68 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 2.311e-05/0.4699, allocations: 8 kB / 1.354 GB, free: 7.672 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001227/0.4712, allocations: 0.5575 MB / 1.354 GB, free: 7.113 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 6.991e-05/0.4712, allocations: 35.89 kB / 1.354 GB, free: 7.078 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 9.582e-05/0.4713, allocations: 75.61 kB / 1.355 GB, free: 7.004 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0006649/0.472, allocations: 355 kB / 1.355 GB, free: 6.656 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 5.841e-06/0.472, allocations: 4 kB / 1.355 GB, free: 6.652 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.804e-06/0.472, allocations: 3.938 kB / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.025e-06/0.472, allocations: 0 / 1.355 GB, free: 6.648 MB / 1.045 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0008522/0.4729, allocations: 446.1 kB / 1.355 GB, free: 6.18 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 4.593e-05/0.4729, allocations: 8.031 kB / 1.355 GB, free: 6.172 MB / 1.045 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 2.124e-05/0.4729, allocations: 12.45 kB / 1.355 GB, free: 6.16 MB / 1.045 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.88e-05/0.473, allocations: 54.73 kB / 1.355 GB, free: 6.098 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001559/0.4732, allocations: 28.83 kB / 1.355 GB, free: 6.07 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003039/0.4735, allocations: 146.3 kB / 1.356 GB, free: 5.902 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.4735, allocations: 16.64 kB / 1.356 GB, free: 5.887 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.755e-05/0.4735, allocations: 24.06 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004274/0.4739, allocations: 253 kB / 1.356 GB, free: 5.594 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.176e-05/0.4739, allocations: 4 kB / 1.356 GB, free: 5.59 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.513e-05/0.474, allocations: 4 kB / 1.356 GB, free: 5.586 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.991e-05/0.474, allocations: 8 kB / 1.356 GB, free: 5.578 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005529/0.4745, allocations: 447.5 kB / 1.356 GB, free: 5.141 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001245/0.4758, allocations: 0.9834 MB / 1.357 GB, free: 4.07 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003206/0.4761, allocations: 157.5 kB / 1.357 GB, free: 3.906 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001142/0.4762, allocations: 52.89 kB / 1.357 GB, free: 3.852 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008/0.477, allocations: 467.8 kB / 1.358 GB, free: 3.375 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.956e-05/0.4771, allocations: 42.55 kB / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of pre-optimization done (n=15): time 1.513e-06/0.4771, allocations: 0 / 1.358 GB, free: 3.324 MB / 1.045 GB Notification: Performance of matching and sorting (n=15): time 0.0003791/0.4774, allocations: 152.4 kB / 1.358 GB, free: 3.172 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.98e-05/0.4775, allocations: 55.34 kB / 1.358 GB, free: 3.105 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001933/0.4777, allocations: 176.4 kB / 1.358 GB, free: 2.918 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.934e-05/0.4777, allocations: 33.7 kB / 1.358 GB, free: 2.879 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001093/0.4778, allocations: 136.1 kB / 1.358 GB, free: 2.742 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 5.803e-05/0.4779, allocations: 59.48 kB / 1.359 GB, free: 2.684 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.405e-05/0.478, allocations: 45.7 kB / 1.359 GB, free: 2.633 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4781, allocations: 330.8 kB / 1.359 GB, free: 2.301 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.733e-05/0.4782, allocations: 31.98 kB / 1.359 GB, free: 2.27 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001647/0.4784, allocations: 137.7 kB / 1.359 GB, free: 2.086 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002698/0.4786, allocations: 197.5 kB / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.4786, allocations: 0 / 1.359 GB, free: 1.844 MB / 1.045 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003535/0.479, allocations: 221.2 kB / 1.359 GB, free: 1.621 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.323e-05/0.479, allocations: 9.719 kB / 1.359 GB, free: 1.613 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.479, allocations: 4 kB / 1.359 GB, free: 1.609 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.4791, allocations: 7.938 kB / 1.359 GB, free: 1.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001844/0.4792, allocations: 55.91 kB / 1.36 GB, free: 1.547 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.507e-05/0.4793, allocations: 7.938 kB / 1.36 GB, free: 1.539 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4794, allocations: 32.25 kB / 1.36 GB, free: 1.508 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.78e-05/0.4794, allocations: 12 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (30): * Single equations (assignments): 29 * Array equations: 1 * 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.0001302/0.4795, allocations: 133.7 kB / 1.36 GB, free: 1.355 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.745e-05/0.4796, allocations: 23.89 kB / 1.36 GB, free: 1.332 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003392/0.4799, allocations: 160.9 kB / 1.36 GB, free: 1.176 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.4799, allocations: 7.938 kB / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.4799, allocations: 0 / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.887e-06/0.4799, allocations: 0 / 1.36 GB, free: 1.168 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.4802, allocations: 188.6 kB / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.273e-06/0.4802, allocations: 0 / 1.36 GB, free: 0.9414 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.943e-05/0.4803, allocations: 28 kB / 1.36 GB, free: 0.9141 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4803, allocations: 3.984 kB / 1.36 GB, free: 0.9102 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.4803, allocations: 11.88 kB / 1.36 GB, free: 0.8984 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/0.4803, allocations: 4 kB / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.4803, allocations: 0 / 1.36 GB, free: 0.8945 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002619/0.4806, allocations: 215.4 kB / 1.36 GB, free: 0.668 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.157e-05/0.4806, allocations: 31.81 kB / 1.36 GB, free: 0.6367 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.966e-05/0.4807, allocations: 7.938 kB / 1.36 GB, free: 0.6289 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002084/0.4809, allocations: 23.97 kB / 1.36 GB, free: 0.6055 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.858e-05/0.4809, allocations: 7.984 kB / 1.36 GB, free: 0.5977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.987e-05/0.4809, allocations: 8 kB / 1.36 GB, free: 0.5898 MB / 1.045 GB Notification: Performance of sorting global known variables: time 9.735e-05/0.481, allocations: 120 kB / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.481, allocations: 0 / 1.36 GB, free: 484 kB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004085/0.4814, allocations: 79.86 kB / 1.361 GB, free: 404 kB / 1.045 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 (15): * Single equations (assignments): 14 * Array equations: 1 * 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.0008407/0.4823, allocations: 0.8311 MB / 1.361 GB, free: 15.54 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0002617/0.4825, allocations: 116.4 kB / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4825, allocations: 256 / 1.361 GB, free: 15.43 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 6.883e-05/0.4826, allocations: 43.91 kB / 1.362 GB, free: 15.38 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.483, allocations: 51.89 kB / 1.362 GB, free: 15.33 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002478/0.4855, allocations: 2.055 MB / 1.364 GB, free: 13.11 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003684/0.4859, allocations: 0.7244 MB / 1.364 GB, free: 12.36 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.0001616/0.4861, allocations: 45.69 kB / 1.364 GB, free: 12.31 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.239e-05/0.4861, allocations: 43.42 kB / 1.364 GB, free: 12.27 MB / 1.061 GB Notification: Performance of SimCode: time 4.91e-07/0.4861, allocations: 4 kB / 1.364 GB, free: 12.26 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02719/0.5133, allocations: 5.499 MB / 1.37 GB, free: 6.945 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.14, allocations: 14.45 kB / 1.37 GB, free: 6.934 MB / 1.061 GB " [Timeout remaining time 288] (rm -f Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=800 --tolerance=1e-06 Buildings_latest_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.PropyleneGlycolWaterProperties.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: 19.298887217999436]