Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties,fileNamePrefix="Buildings_latest_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.005314/0.005314, allocations: 105.8 kB / 15.74 MB, free: 5.949 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.001253/0.001253, allocations: 192.3 kB / 16.67 MB, free: 5.871 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.386/1.386, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.658/2.658, allocations: 461.9 MB / 0.7348 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001603/0.001603, allocations: 67.91 kB / 1.054 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9222/0.9239, allocations: 157.4 MB / 1.207 GB, free: 13.55 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.006035/0.9299, allocations: 4.058 MB / 1.211 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00292/0.9329, allocations: 2.422 MB / 1.214 GB, free: 7.043 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000146/0.9331, allocations: 4 kB / 1.214 GB, free: 7.039 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0003001/0.9334, allocations: 47.66 kB / 1.214 GB, free: 6.992 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0003439/0.9338, allocations: 99.34 kB / 1.214 GB, free: 6.895 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001333/0.9351, allocations: 0.534 MB / 1.214 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0003289/0.9355, allocations: 255.8 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.474e-05/0.9355, allocations: 9.562 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002089/0.9357, allocations: 115.6 kB / 1.215 GB, free: 5.988 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001782/0.9359, allocations: 91.66 kB / 1.215 GB, free: 5.898 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 2.366e-05/0.9359, allocations: 12 kB / 1.215 GB, free: 5.887 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008863/0.9368, allocations: 459.2 kB / 1.215 GB, free: 5.438 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 7.886e-05/0.9369, allocations: 43.83 kB / 1.215 GB, free: 5.395 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001007/0.937, allocations: 83.64 kB / 1.215 GB, free: 5.312 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007529/0.9378, allocations: 405.2 kB / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 2.865e-06/0.9378, allocations: 0 / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.032e-06/0.9378, allocations: 0 / 1.216 GB, free: 4.918 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.591e-06/0.9378, allocations: 0 / 1.216 GB, free: 4.918 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.0007823/0.9386, allocations: 0.5109 MB / 1.216 GB, free: 4.355 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.759e-05/0.9387, allocations: 16.03 kB / 1.216 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.426e-05/0.9387, allocations: 50.73 kB / 1.216 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002068/0.9408, allocations: 172.5 kB / 1.216 GB, free: 4.113 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003185/0.9411, allocations: 212.1 kB / 1.217 GB, free: 3.867 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.76e-05/0.9412, allocations: 16.7 kB / 1.217 GB, free: 3.852 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.842e-05/0.9412, allocations: 20.12 kB / 1.217 GB, free: 3.832 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006419/0.9419, allocations: 304.2 kB / 1.217 GB, free: 3.5 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.127e-05/0.9419, allocations: 3.938 kB / 1.217 GB, free: 3.496 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.817e-05/0.9419, allocations: 8 kB / 1.217 GB, free: 3.488 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.841e-05/0.9419, allocations: 4 kB / 1.217 GB, free: 3.484 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006784/0.9426, allocations: 263.6 kB / 1.217 GB, free: 3.227 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00168/0.9443, allocations: 1.389 MB / 1.219 GB, free: 1.723 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005981/0.9449, allocations: 182.5 kB / 1.219 GB, free: 1.535 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002175/0.9452, allocations: 80.84 kB / 1.219 GB, free: 1.453 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.509e-05/0.9452, allocations: 11.92 kB / 1.219 GB, free: 1.441 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.732e-05/0.9452, allocations: 38.56 kB / 1.219 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=18): time 3.537e-06/0.9452, allocations: 0 / 1.219 GB, free: 1.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=18): time 0.0007392/0.946, allocations: 251.3 kB / 1.219 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.576e-05/0.946, allocations: 55.41 kB / 1.219 GB, free: 1.078 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001354/0.9462, allocations: 164.3 kB / 1.219 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.001e-05/0.9462, allocations: 29.7 kB / 1.219 GB, free: 0.875 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.712e-05/0.9463, allocations: 124 kB / 1.219 GB, free: 0.75 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.867e-05/0.9463, allocations: 63.09 kB / 1.22 GB, free: 0.6875 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.417e-05/0.9464, allocations: 45.94 kB / 1.22 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001172/0.9466, allocations: 326.8 kB / 1.22 GB, free: 312 kB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002022/0.9468, allocations: 68.41 kB / 1.22 GB, free: 244 kB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000237/0.947, allocations: 134.3 kB / 1.22 GB, free: 76 kB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004651/0.9475, allocations: 230.9 kB / 1.22 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.525e-06/0.9475, allocations: 0 / 1.22 GB, free: 15.81 MB / 0.9512 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005962/0.9481, allocations: 249.2 kB / 1.221 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.638e-05/0.9481, allocations: 4 kB / 1.221 GB, free: 15.56 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.115e-06/0.9481, allocations: 7.938 kB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.588e-05/0.9482, allocations: 4 kB / 1.221 GB, free: 15.55 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003833/0.9486, allocations: 63.95 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.9486, allocations: 8.25 kB / 1.221 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000254/0.9488, allocations: 35.67 kB / 1.221 GB, free: 15.44 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.345e-05/0.9489, allocations: 12 kB / 1.221 GB, free: 15.43 MB / 0.9512 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.0001413/0.949, allocations: 133.7 kB / 1.221 GB, free: 15.29 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.842e-05/0.9491, allocations: 11.91 kB / 1.221 GB, free: 15.28 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006155/0.9497, allocations: 228.3 kB / 1.221 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.49e-06/0.9497, allocations: 4 kB / 1.221 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.569e-06/0.9497, allocations: 4 kB / 1.221 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.15e-06/0.9497, allocations: 3.984 kB / 1.221 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.95, allocations: 245.5 kB / 1.221 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.899e-06/0.95, allocations: 7.922 kB / 1.221 GB, free: 14.74 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003255/0.9504, allocations: 51.89 kB / 1.221 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.9504, allocations: 0 / 1.221 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.837e-05/0.9504, allocations: 4 kB / 1.221 GB, free: 14.69 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.617e-06/0.9504, allocations: 4 kB / 1.221 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.373e-06/0.9504, allocations: 0 / 1.221 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005281/0.9509, allocations: 301.6 kB / 1.222 GB, free: 14.38 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001145/0.9511, allocations: 112.8 kB / 1.222 GB, free: 14.25 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.9511, allocations: 4 kB / 1.222 GB, free: 14.24 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002799/0.9514, allocations: 15.98 kB / 1.222 GB, free: 14.23 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.661e-05/0.9514, allocations: 15.98 kB / 1.222 GB, free: 14.21 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.191e-05/0.9515, allocations: 7.984 kB / 1.222 GB, free: 14.2 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 7.621e-05/0.9516, allocations: 115.2 kB / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9516, allocations: 0 / 1.222 GB, free: 14.09 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.000385/0.9519, allocations: 63.98 kB / 1.222 GB, free: 14.03 MB / 0.9512 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.0009364/0.9529, allocations: 0.8566 MB / 1.223 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0005541/0.9535, allocations: 181.8 kB / 1.223 GB, free: 12.97 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.9535, allocations: 4 kB / 1.223 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.000209/0.9537, allocations: 86.11 kB / 1.223 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004962/0.9542, allocations: 66.59 kB / 1.223 GB, free: 12.82 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003037/0.9572, allocations: 2.161 MB / 1.225 GB, free: 10.52 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002748/0.9575, allocations: 0.7173 MB / 1.226 GB, free: 9.777 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0002528/0.9578, allocations: 53.92 kB / 1.226 GB, free: 9.723 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001157/0.9579, allocations: 43.42 kB / 1.226 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of SimCode: time 4.51e-07/0.9579, allocations: 0 / 1.226 GB, free: 9.68 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02466/0.9826, allocations: 5.279 MB / 1.231 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.837/8.82, allocations: 11.95 kB / 1.231 GB, free: 4.605 MB / 0.9512 GB (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat --tempDir=temp_Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.fmu > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityProperties.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches