Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.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.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",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.001399/0.001399, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0016/0.0016, allocations: 194.1 kB / 16.53 MB, free: 6.664 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.192/1.192, allocations: 222.9 MB / 240.2 MB, free: 4.344 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.418/2.418, allocations: 437.1 MB / 0.7104 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.00129/0.00129, allocations: 71.91 kB / 0.8694 GB, free: 4.543 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5351/0.5364, allocations: 151.6 MB / 1.017 GB, free: 2.473 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004833/0.5413, allocations: 4.049 MB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002446/0.5437, allocations: 2.43 MB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.031e-05/0.5438, allocations: 4 kB / 1.024 GB, free: 11.96 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0002269/0.5441, allocations: 47.69 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002286/0.5443, allocations: 95.34 kB / 1.024 GB, free: 11.82 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.001063/0.5454, allocations: 0.5258 MB / 1.024 GB, free: 11.3 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.5456, allocations: 263.9 kB / 1.025 GB, free: 11.04 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.308e-05/0.5457, allocations: 13.5 kB / 1.025 GB, free: 11.02 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001673/0.5459, allocations: 111.6 kB / 1.025 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001282/0.546, allocations: 103.5 kB / 1.025 GB, free: 10.81 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 2.398e-05/0.546, allocations: 8 kB / 1.025 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007483/0.5468, allocations: 455.3 kB / 1.025 GB, free: 10.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.177e-05/0.5469, allocations: 35.89 kB / 1.025 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 8.223e-05/0.547, allocations: 83.64 kB / 1.025 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0005499/0.5475, allocations: 413.2 kB / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.5475, allocations: 0 / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.182e-06/0.5475, allocations: 0 / 1.026 GB, free: 9.84 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.5475, allocations: 0 / 1.026 GB, free: 9.84 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.0006569/0.5482, allocations: 0.5031 MB / 1.026 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.5482, allocations: 12.03 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.691e-05/0.5483, allocations: 46.73 kB / 1.026 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001945/0.5502, allocations: 188.5 kB / 1.027 GB, free: 9.039 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002195/0.5505, allocations: 212 kB / 1.027 GB, free: 8.793 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.134e-05/0.5505, allocations: 12.7 kB / 1.027 GB, free: 8.781 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.463e-05/0.5505, allocations: 12.38 kB / 1.027 GB, free: 8.77 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006154/0.5512, allocations: 304.2 kB / 1.027 GB, free: 8.438 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.809e-06/0.5512, allocations: 3.938 kB / 1.027 GB, free: 8.434 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.51e-05/0.5512, allocations: 16 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.634e-05/0.5513, allocations: 4 kB / 1.027 GB, free: 8.414 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006964/0.552, allocations: 259.6 kB / 1.027 GB, free: 8.16 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001468/0.5534, allocations: 1.385 MB / 1.029 GB, free: 6.66 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000656/0.5541, allocations: 200.2 kB / 1.029 GB, free: 6.457 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000228/0.5543, allocations: 76.81 kB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.5544, allocations: 0 / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.5544, allocations: 42.5 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=18): time 9.81e-07/0.5544, allocations: 0 / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of matching and sorting (n=18): time 0.000785/0.5552, allocations: 245.2 kB / 1.029 GB, free: 6.082 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/0.5552, allocations: 55.41 kB / 1.029 GB, free: 6.016 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001183/0.5554, allocations: 156.3 kB / 1.029 GB, free: 5.855 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.778e-05/0.5554, allocations: 37.7 kB / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.648e-05/0.5555, allocations: 124 kB / 1.03 GB, free: 5.688 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.523e-05/0.5555, allocations: 63.09 kB / 1.03 GB, free: 5.625 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.444e-05/0.5556, allocations: 57.83 kB / 1.03 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001021/0.5557, allocations: 330.8 kB / 1.03 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002154/0.5559, allocations: 56.42 kB / 1.03 GB, free: 5.172 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002557/0.5562, allocations: 143.3 kB / 1.03 GB, free: 5 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000481/0.5567, allocations: 220.3 kB / 1.03 GB, free: 4.754 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.5567, allocations: 4 kB / 1.03 GB, free: 4.75 MB / 0.7794 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005863/0.5573, allocations: 253.3 kB / 1.031 GB, free: 4.496 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.414e-05/0.5573, allocations: 4 kB / 1.031 GB, free: 4.492 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.5573, allocations: 7.984 kB / 1.031 GB, free: 4.484 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.583e-05/0.5574, allocations: 4 kB / 1.031 GB, free: 4.48 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003527/0.5577, allocations: 63.89 kB / 1.031 GB, free: 4.418 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.5577, allocations: 4 kB / 1.031 GB, free: 4.414 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002361/0.558, allocations: 35.67 kB / 1.031 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.206e-05/0.558, allocations: 11.98 kB / 1.031 GB, free: 4.367 MB / 0.7794 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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 (28): * Single equations (assignments): 28 * 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.0001053/0.5581, allocations: 133.8 kB / 1.031 GB, free: 4.227 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.437e-05/0.5582, allocations: 19.81 kB / 1.031 GB, free: 4.207 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006384/0.5588, allocations: 222.7 kB / 1.031 GB, free: 3.98 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.5588, allocations: 4 kB / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.957e-06/0.5588, allocations: 0 / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.5588, allocations: 0 / 1.031 GB, free: 3.977 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002608/0.5591, allocations: 253.3 kB / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5591, allocations: 0 / 1.031 GB, free: 3.68 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002996/0.5594, allocations: 51.91 kB / 1.031 GB, free: 3.629 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.5594, allocations: 4 kB / 1.031 GB, free: 3.625 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.789e-05/0.5595, allocations: 7.984 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.5595, allocations: 0 / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.5595, allocations: 0 / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005383/0.56, allocations: 304.7 kB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.167e-05/0.5601, allocations: 104.9 kB / 1.032 GB, free: 3.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.604e-05/0.5602, allocations: 4 kB / 1.032 GB, free: 3.18 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002696/0.5604, allocations: 15.98 kB / 1.032 GB, free: 3.164 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.5605, allocations: 7.984 kB / 1.032 GB, free: 3.156 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.481e-05/0.5605, allocations: 15.98 kB / 1.032 GB, free: 3.141 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 7.405e-05/0.5606, allocations: 112.9 kB / 1.032 GB, free: 3.031 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5606, allocations: 4 kB / 1.032 GB, free: 3.027 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003552/0.5609, allocations: 68.03 kB / 1.032 GB, free: 2.961 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 (20): * Single equations (assignments): 20 * 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.0008695/0.5618, allocations: 0.8624 MB / 1.033 GB, free: 2.074 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0005503/0.5624, allocations: 201.2 kB / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.554e-06/0.5624, allocations: 0 / 1.033 GB, free: 1.879 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.5626, allocations: 87.88 kB / 1.033 GB, free: 1.793 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000512/0.5632, allocations: 70.17 kB / 1.033 GB, free: 1.727 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002976/0.5661, allocations: 2.141 MB / 1.035 GB, free: 15.45 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002397/0.5664, allocations: 0.7134 MB / 1.036 GB, free: 14.71 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 0.0003501/0.5668, allocations: 53.92 kB / 1.036 GB, free: 14.66 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001108/0.5669, allocations: 47.41 kB / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of SimCode: time 1.794e-06/0.5669, allocations: 0 / 1.036 GB, free: 14.61 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.11/0.6769, allocations: 5.152 MB / 1.041 GB, free: 9.629 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.418/8.095, allocations: 10 kB / 1.041 GB, free: 9.621 MB / 0.795 GB (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches