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.001547/0.001547, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001827/0.001827, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.223/1.223, allocations: 222.9 MB / 239.9 MB, free: 4.531 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.292/2.292, allocations: 437 MB / 0.7101 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001115/0.001115, allocations: 59.91 kB / 0.8688 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5147/0.5158, allocations: 151.6 MB / 1.017 GB, free: 2.684 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.PropyleneGlycolWaterProperties): time 0.005075/0.5209, allocations: 4.477 MB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002348/0.5233, allocations: 2.679 MB / 1.024 GB, free: 11.5 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.737e-05/0.5234, allocations: 4 kB / 1.024 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.000222/0.5236, allocations: 27.81 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002455/0.5239, allocations: 87.48 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00106/0.525, allocations: 460.2 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002327/0.5252, allocations: 243.8 kB / 1.025 GB, free: 10.69 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.157e-05/0.5253, allocations: 9.562 kB / 1.025 GB, free: 10.68 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007788/0.526, allocations: 411.9 kB / 1.025 GB, free: 10.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001242/0.5262, allocations: 91.66 kB / 1.025 GB, free: 10.19 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.953e-05/0.5262, allocations: 8 kB / 1.025 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008094/0.527, allocations: 0.4972 MB / 1.026 GB, free: 9.684 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 5.535e-05/0.5271, allocations: 31.89 kB / 1.026 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.465e-05/0.5272, allocations: 83.59 kB / 1.026 GB, free: 9.57 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005202/0.5277, allocations: 355.1 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.965e-06/0.5277, allocations: 0 / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5277, allocations: 4 kB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.969e-06/0.5277, allocations: 3.938 kB / 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.000608/0.5283, allocations: 0.4953 MB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.357e-05/0.5284, allocations: 12.03 kB / 1.027 GB, free: 8.66 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.882e-05/0.5284, allocations: 50.73 kB / 1.027 GB, free: 8.602 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001432/0.5286, allocations: 28.73 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.5287, allocations: 204.2 kB / 1.027 GB, free: 8.336 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.277e-05/0.5288, allocations: 12.69 kB / 1.027 GB, free: 8.324 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.5288, allocations: 16.38 kB / 1.027 GB, free: 8.309 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003186/0.5291, allocations: 252.9 kB / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.606e-06/0.5291, allocations: 0 / 1.027 GB, free: 8.039 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.163e-05/0.5292, allocations: 11.98 kB / 1.027 GB, free: 8.027 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.059e-05/0.5292, allocations: 4 kB / 1.027 GB, free: 8.023 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004118/0.5296, allocations: 432 kB / 1.028 GB, free: 7.602 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008845/0.5305, allocations: 1.012 MB / 1.029 GB, free: 6.496 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002377/0.5307, allocations: 160.5 kB / 1.029 GB, free: 6.332 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.961e-05/0.5308, allocations: 64.88 kB / 1.029 GB, free: 6.266 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001084/0.5319, allocations: 1.817 MB / 1.031 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.046e-05/0.532, allocations: 38.56 kB / 1.031 GB, free: 4.043 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=15): time 1.182e-06/0.532, allocations: 4 kB / 1.031 GB, free: 4.039 MB / 0.7794 GB Notification: Performance of matching and sorting (n=15): time 0.0002774/0.5323, allocations: 145.4 kB / 1.031 GB, free: 3.891 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.172e-05/0.5323, allocations: 51.41 kB / 1.031 GB, free: 3.828 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001326/0.5324, allocations: 169.8 kB / 1.031 GB, free: 3.648 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.5325, allocations: 29.7 kB / 1.031 GB, free: 3.613 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.674e-05/0.5325, allocations: 139.8 kB / 1.031 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.512e-05/0.5326, allocations: 55.2 kB / 1.031 GB, free: 3.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.897e-05/0.5326, allocations: 61.62 kB / 1.031 GB, free: 3.352 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.463e-05/0.5327, allocations: 326.8 kB / 1.032 GB, free: 3.023 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.199e-05/0.5328, allocations: 35.97 kB / 1.032 GB, free: 2.988 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001104/0.5329, allocations: 133.7 kB / 1.032 GB, free: 2.809 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001935/0.5331, allocations: 199.3 kB / 1.032 GB, free: 2.566 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.5331, allocations: 4 kB / 1.032 GB, free: 2.562 MB / 0.7794 GB Notification: Performance of matching and sorting (n=30) (initialization): time 0.0002814/0.5334, allocations: 215.2 kB / 1.032 GB, free: 2.348 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.244e-05/0.5334, allocations: 13.72 kB / 1.032 GB, free: 2.336 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.113e-06/0.5334, allocations: 4 kB / 1.032 GB, free: 2.332 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.5335, allocations: 7.938 kB / 1.032 GB, free: 2.324 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.5336, allocations: 55.92 kB / 1.032 GB, free: 2.27 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.5336, allocations: 11.92 kB / 1.032 GB, free: 2.258 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001078/0.5337, allocations: 27.69 kB / 1.032 GB, free: 2.23 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.55e-05/0.5338, 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 8.643e-05/0.5338, allocations: 129.8 kB / 1.032 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.62e-05/0.5339, allocations: 19.81 kB / 1.032 GB, free: 2.062 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002513/0.5342, allocations: 158.9 kB / 1.033 GB, free: 1.906 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.916e-06/0.5342, allocations: 3.938 kB / 1.033 GB, free: 1.902 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5342, allocations: 4 kB / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.5342, allocations: 0 / 1.033 GB, free: 1.898 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000212/0.5344, allocations: 221.4 kB / 1.033 GB, free: 1.633 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.5344, allocations: 3.984 kB / 1.033 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.597e-05/0.5345, allocations: 23.94 kB / 1.033 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.909e-06/0.5345, allocations: 4 kB / 1.033 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5345, allocations: 11.98 kB / 1.033 GB, free: 1.59 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/0.5345, allocations: 3.938 kB / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.5345, allocations: 0 / 1.033 GB, free: 1.586 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002037/0.5348, allocations: 220.6 kB / 1.033 GB, free: 1.355 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.791e-05/0.5348, allocations: 104.9 kB / 1.033 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.167e-05/0.5349, allocations: 0 / 1.033 GB, free: 1.234 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/0.5351, allocations: 23.91 kB / 1.033 GB, free: 1.211 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.884e-05/0.5351, allocations: 12 kB / 1.033 GB, free: 1.199 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.753e-05/0.5351, allocations: 11.98 kB / 1.033 GB, free: 1.188 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.591e-05/0.5352, allocations: 124.9 kB / 1.033 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.5352, allocations: 0 / 1.033 GB, free: 1.066 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003428/0.5355, allocations: 75.94 kB / 1.033 GB, free: 0.9922 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.0005949/0.5361, allocations: 0.8342 MB / 1.034 GB, free: 136 kB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002056/0.5364, allocations: 124.5 kB / 1.034 GB, free: 12 kB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.5364, allocations: 0.9375 kB / 1.034 GB, free: 12 kB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 7.252e-05/0.5364, allocations: 43.92 kB / 1.034 GB, free: 15.97 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003885/0.5368, allocations: 69.36 kB / 1.034 GB, free: 15.9 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001782/0.5386, allocations: 2.071 MB / 1.036 GB, free: 13.66 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002033/0.5388, allocations: 0.7166 MB / 1.037 GB, free: 12.92 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.000165/0.539, allocations: 53.72 kB / 1.037 GB, free: 12.86 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.048e-05/0.5391, allocations: 43.42 kB / 1.037 GB, free: 12.82 MB / 0.795 GB Notification: Performance of SimCode: time 2.21e-07/0.5391, allocations: 4 kB / 1.037 GB, free: 12.82 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.437/2.976, allocations: 5.03 MB / 1.042 GB, free: 7.941 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002103/2.976, allocations: 203.3 kB / 1.042 GB, free: 7.691 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.47/5.446, allocations: 0 / 1.042 GB, free: 7.691 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