Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Examples.PropyleneGlycolWaterProperties,fileNamePrefix="Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008553/0.008553, allocations: 107.8 kB / 15.74 MB, free: 6.449 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 196 kB / 16.67 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 222.9 MB / 240.4 MB, free: 4.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.61/2.61, allocations: 437 MB / 0.7105 GB, free: 4.941 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001428/0.001428, allocations: 59.91 kB / 1.018 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3547/0.3561, allocations: 151.6 MB / 1.166 GB, free: 7.246 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.006952/0.3631, allocations: 4.422 MB / 1.171 GB, free: 2.793 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003086/0.3662, allocations: 2.691 MB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001465/0.3664, allocations: 0 / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.0002984/0.3668, allocations: 51.67 kB / 1.173 GB, free: 44 kB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0003295/0.3671, allocations: 99.36 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001414/0.3685, allocations: 0.4939 MB / 1.174 GB, free: 15.45 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0002768/0.3688, allocations: 243.8 kB / 1.174 GB, free: 15.21 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 5.158e-05/0.3689, allocations: 9.562 kB / 1.174 GB, free: 15.2 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009734/0.3698, allocations: 410.9 kB / 1.174 GB, free: 14.8 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001222/0.37, allocations: 87.61 kB / 1.174 GB, free: 14.71 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.31e-05/0.37, allocations: 8 kB / 1.174 GB, free: 14.7 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009696/0.371, allocations: 0.4901 MB / 1.175 GB, free: 14.21 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 6.751e-05/0.3711, allocations: 39.81 kB / 1.175 GB, free: 14.18 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 9.362e-05/0.3712, allocations: 79.66 kB / 1.175 GB, free: 14.1 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0005736/0.3717, allocations: 351.9 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.839e-06/0.3718, allocations: 0 / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of FrontEnd: time 3.667e-06/0.3718, allocations: 7.984 kB / 1.175 GB, free: 13.75 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.3718, allocations: 0 / 1.175 GB, free: 13.75 MB / 0.9356 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.0007001/0.3725, allocations: 0.4954 MB / 1.176 GB, free: 13.2 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.311e-05/0.3725, allocations: 8.031 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.376e-05/0.3726, allocations: 54.73 kB / 1.176 GB, free: 13.13 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001549/0.3728, allocations: 24.75 kB / 1.176 GB, free: 13.11 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002757/0.373, allocations: 216 kB / 1.176 GB, free: 12.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.638e-05/0.3731, allocations: 12.7 kB / 1.176 GB, free: 12.84 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.23e-05/0.3731, allocations: 12.38 kB / 1.176 GB, free: 12.83 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003725/0.3735, allocations: 256.8 kB / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.181e-05/0.3735, allocations: 0 / 1.176 GB, free: 12.56 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.667e-05/0.3735, allocations: 11.98 kB / 1.176 GB, free: 12.55 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.279e-05/0.3736, allocations: 12 kB / 1.176 GB, free: 12.54 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004784/0.3741, allocations: 427.5 kB / 1.177 GB, free: 12.12 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001143/0.3752, allocations: 1.008 MB / 1.178 GB, free: 11.02 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002721/0.3755, allocations: 158.9 kB / 1.178 GB, free: 10.85 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.687e-05/0.3756, allocations: 60.88 kB / 1.178 GB, free: 10.79 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001422/0.377, allocations: 1.829 MB / 1.18 GB, free: 8.602 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.766e-05/0.3771, allocations: 42.48 kB / 1.18 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=15): time 1.843e-06/0.3771, allocations: 0 / 1.18 GB, free: 8.551 MB / 0.9356 GB Notification: Performance of matching and sorting (n=15): time 0.0003494/0.3774, allocations: 145.4 kB / 1.18 GB, free: 8.402 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.361e-05/0.3775, allocations: 51.41 kB / 1.18 GB, free: 8.34 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3777, allocations: 176.6 kB / 1.18 GB, free: 8.152 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.389e-05/0.3777, allocations: 29.7 kB / 1.18 GB, free: 8.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 9.857e-05/0.3778, allocations: 143.8 kB / 1.18 GB, free: 7.973 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.3778, allocations: 55.28 kB / 1.18 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.275e-05/0.3779, allocations: 53.61 kB / 1.181 GB, free: 7.859 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001349/0.3781, allocations: 318.8 kB / 1.181 GB, free: 7.539 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.726e-05/0.3781, allocations: 35.98 kB / 1.181 GB, free: 7.504 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001412/0.3783, allocations: 148.4 kB / 1.181 GB, free: 7.312 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002509/0.3786, allocations: 192.5 kB / 1.181 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.524e-06/0.3786, allocations: 0 / 1.181 GB, free: 7.078 MB / 0.9356 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003545/0.3789, allocations: 221.3 kB / 1.181 GB, free: 6.855 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.307e-05/0.379, allocations: 14.17 kB / 1.181 GB, free: 6.844 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.468e-06/0.379, allocations: 4 kB / 1.181 GB, free: 6.84 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.131e-05/0.379, allocations: 7.938 kB / 1.181 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001741/0.3792, allocations: 51.92 kB / 1.181 GB, free: 6.781 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.129e-05/0.3792, allocations: 8 kB / 1.182 GB, free: 6.773 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001156/0.3793, allocations: 23.75 kB / 1.182 GB, free: 6.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.966e-05/0.3794, allocations: 11.98 kB / 1.182 GB, free: 6.738 MB / 0.9356 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.000143/0.3795, allocations: 141.9 kB / 1.182 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.075e-05/0.3796, allocations: 11.91 kB / 1.182 GB, free: 6.578 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003072/0.3799, allocations: 162.7 kB / 1.182 GB, free: 6.414 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.3799, allocations: 7.938 kB / 1.182 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3799, allocations: 0 / 1.182 GB, free: 6.406 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.821e-06/0.3799, allocations: 3.984 kB / 1.182 GB, free: 6.402 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002661/0.3802, allocations: 213.5 kB / 1.182 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.383e-06/0.3802, allocations: 0 / 1.182 GB, free: 6.145 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.712e-05/0.3803, allocations: 23.98 kB / 1.182 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.064e-06/0.3803, allocations: 0 / 1.182 GB, free: 6.121 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.3803, allocations: 12 kB / 1.182 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.905e-06/0.3803, allocations: 7.938 kB / 1.182 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.3803, allocations: 0 / 1.182 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002548/0.3806, allocations: 220.2 kB / 1.182 GB, free: 5.871 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 9.145e-05/0.3807, allocations: 108.8 kB / 1.182 GB, free: 5.746 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.326e-05/0.3807, allocations: 3.984 kB / 1.182 GB, free: 5.742 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.3809, allocations: 23.92 kB / 1.182 GB, free: 5.719 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.37e-05/0.381, allocations: 11.98 kB / 1.182 GB, free: 5.707 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.947e-05/0.381, allocations: 8 kB / 1.182 GB, free: 5.699 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 9.882e-05/0.3811, allocations: 120.9 kB / 1.183 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3811, allocations: 0 / 1.183 GB, free: 5.582 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003974/0.3815, allocations: 79.98 kB / 1.183 GB, free: 5.504 MB / 0.9356 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.0007578/0.3823, allocations: 0.8279 MB / 1.183 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.000253/0.3825, allocations: 123.7 kB / 1.184 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.3825, allocations: 0.9375 kB / 1.184 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 7.452e-05/0.3826, allocations: 43.92 kB / 1.184 GB, free: 4.484 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004185/0.383, allocations: 55.78 kB / 1.184 GB, free: 4.43 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002225/0.3853, allocations: 2.041 MB / 1.186 GB, free: 2.223 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003856/0.3857, allocations: 0.7128 MB / 1.186 GB, free: 1.484 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 0.0001596/0.3858, allocations: 45.75 kB / 1.186 GB, free: 1.438 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.146e-05/0.3859, allocations: 43.42 kB / 1.186 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of SimCode: time 2.1e-07/0.3859, allocations: 0 / 1.186 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02511/0.411, allocations: 5.184 MB / 1.192 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.822/8.233, allocations: 16.03 kB / 1.192 GB, free: 12.32 MB / 0.9512 GB (rm -f Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe >> ../files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Examples_PropyleneGlycolWaterProperties.fmu > Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Examples_PropyleneGlycolWaterProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Examples.PropyleneGlycolWaterProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches