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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001183/0.001183, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001336/0.001336, allocations: 194.5 kB / 16.14 MB, free: 6.645 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.315/1.315, allocations: 222.9 MB / 239.8 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.488/2.488, allocations: 437 MB / 0.71 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.8687 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5474/0.5487, allocations: 151.6 MB / 1.017 GB, free: 2.777 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005835/0.5546, allocations: 4.492 MB / 1.021 GB, free: 14.26 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002841/0.5575, allocations: 2.703 MB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001024/0.5576, allocations: 4 kB / 1.024 GB, free: 11.55 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.5579, allocations: 35.81 kB / 1.024 GB, free: 11.51 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002589/0.5582, allocations: 95.41 kB / 1.024 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001089/0.5593, allocations: 438.8 kB / 1.024 GB, free: 10.99 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003123/0.5596, allocations: 319.6 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.728e-05/0.5596, allocations: 17.55 kB / 1.025 GB, free: 10.66 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009063/0.5605, allocations: 394.8 kB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001265/0.5607, allocations: 95.66 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.514e-05/0.5607, allocations: 8 kB / 1.025 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009879/0.5617, allocations: 498.9 kB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 7.263e-05/0.5618, allocations: 39.83 kB / 1.026 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.835e-05/0.5619, allocations: 79.66 kB / 1.026 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000621/0.5625, allocations: 357.3 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.146e-06/0.5625, allocations: 0 / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.082e-06/0.5625, allocations: 4 kB / 1.026 GB, free: 9.215 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.37e-06/0.5625, allocations: 0 / 1.026 GB, free: 9.215 MB / 0.7794 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.0006918/0.5632, allocations: 0.4993 MB / 1.027 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.055e-05/0.5633, allocations: 16.02 kB / 1.027 GB, free: 8.652 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.5633, allocations: 46.75 kB / 1.027 GB, free: 8.598 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001721/0.5635, allocations: 24.73 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001975/0.5637, allocations: 212 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.5638, allocations: 12.7 kB / 1.027 GB, free: 8.316 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.247e-05/0.5638, allocations: 16.38 kB / 1.027 GB, free: 8.301 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003687/0.5642, allocations: 244.9 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.334e-05/0.5642, allocations: 7.984 kB / 1.027 GB, free: 8.031 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.055e-05/0.5642, allocations: 4 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.579e-05/0.5642, allocations: 8 kB / 1.027 GB, free: 8.02 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000487/0.5647, allocations: 431.9 kB / 1.027 GB, free: 7.598 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.5658, allocations: 1.012 MB / 1.028 GB, free: 6.492 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002799/0.5661, allocations: 155.1 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.918e-05/0.5662, allocations: 58.38 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001326/0.5675, allocations: 1.825 MB / 1.03 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.825e-05/0.5676, allocations: 42.5 kB / 1.03 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.412e-06/0.5676, allocations: 0 / 1.03 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0003347/0.5679, allocations: 153.3 kB / 1.031 GB, free: 3.883 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.157e-05/0.5679, allocations: 51.41 kB / 1.031 GB, free: 3.82 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.5681, allocations: 168.8 kB / 1.031 GB, free: 3.641 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.228e-05/0.5681, allocations: 29.7 kB / 1.031 GB, free: 3.605 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.94e-05/0.5682, allocations: 135.8 kB / 1.031 GB, free: 3.469 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.668e-05/0.5683, allocations: 55.2 kB / 1.031 GB, free: 3.414 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.448e-05/0.5683, allocations: 57.61 kB / 1.031 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001125/0.5684, allocations: 322.8 kB / 1.031 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.639e-05/0.5685, allocations: 35.98 kB / 1.031 GB, free: 2.992 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001329/0.5687, allocations: 141.7 kB / 1.032 GB, free: 2.805 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.5689, allocations: 195.4 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.048e-06/0.5689, allocations: 4 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0003249/0.5692, allocations: 211.2 kB / 1.032 GB, free: 2.352 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.679e-05/0.5693, allocations: 12.03 kB / 1.032 GB, free: 2.34 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.754e-06/0.5693, allocations: 4 kB / 1.032 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.85e-05/0.5693, allocations: 7.938 kB / 1.032 GB, free: 2.328 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001694/0.5695, allocations: 55.91 kB / 1.032 GB, free: 2.273 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.351e-05/0.5695, allocations: 8 kB / 1.032 GB, free: 2.266 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001292/0.5696, allocations: 35.56 kB / 1.032 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.992e-05/0.5697, allocations: 12 kB / 1.032 GB, free: 2.219 MB / 0.7794 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.0001322/0.5698, allocations: 137.8 kB / 1.032 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.606e-05/0.5699, allocations: 19.81 kB / 1.032 GB, free: 2.055 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003243/0.5702, allocations: 150.9 kB / 1.032 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.59e-05/0.5702, allocations: 11.92 kB / 1.032 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.49e-06/0.5702, allocations: 0 / 1.032 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5702, allocations: 0 / 1.032 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002565/0.5705, allocations: 221.4 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.5705, allocations: 0 / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.033e-05/0.5706, allocations: 23.98 kB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.5706, allocations: 0 / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.474e-05/0.5706, allocations: 8 kB / 1.033 GB, free: 1.598 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.687e-06/0.5706, allocations: 11.88 kB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.262e-06/0.5706, allocations: 0 / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002365/0.5709, allocations: 212.6 kB / 1.033 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.081e-05/0.571, allocations: 108.9 kB / 1.033 GB, free: 1.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.638e-05/0.571, allocations: 4 kB / 1.033 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.5712, allocations: 23.92 kB / 1.033 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.277e-05/0.5713, allocations: 11.98 kB / 1.033 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.972e-05/0.5713, allocations: 12 kB / 1.033 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.137e-05/0.5714, allocations: 120.9 kB / 1.033 GB, free: 1.07 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5714, allocations: 3.938 kB / 1.033 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0004072/0.5718, allocations: 83.83 kB / 1.033 GB, free: 0.9844 MB / 0.7794 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.0007462/0.5725, allocations: 0.83 MB / 1.034 GB, free: 132 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.5728, allocations: 117.6 kB / 1.034 GB, free: 16 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.5728, allocations: 7.938 kB / 1.034 GB, free: 8 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 8.127e-05/0.5729, allocations: 48.84 kB / 1.034 GB, free: 15.96 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004465/0.5733, allocations: 47.91 kB / 1.034 GB, free: 15.91 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002178/0.5755, allocations: 2.071 MB / 1.036 GB, free: 13.68 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000272/0.5758, allocations: 0.7092 MB / 1.037 GB, free: 12.94 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0001881/0.576, allocations: 53.72 kB / 1.037 GB, free: 12.89 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.379e-05/0.5761, allocations: 43.42 kB / 1.037 GB, free: 12.84 MB / 0.795 GB Notification: Performance of SimCode: time 1.603e-06/0.5761, allocations: 0 / 1.037 GB, free: 12.84 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1544/0.7305, allocations: 4.931 MB / 1.042 GB, free: 8.043 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.7308, allocations: 207.6 kB / 1.042 GB, free: 7.789 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.046/2.777, allocations: 4 kB / 1.042 GB, free: 7.785 MB / 0.795 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