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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.004682/0.004682, allocations: 96.39 kB / 15.73 MB, free: 6 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.001327/0.001327, allocations: 189.4 kB / 16.67 MB, free: 5.93 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.272/1.272, allocations: 222.9 MB / 240.4 MB, free: 4.305 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.583/2.583, allocations: 482.6 MB / 0.755 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001718/0.001718, allocations: 67.89 kB / 1.083 GB, free: 12.16 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2732/0.2749, allocations: 162.3 MB / 1.242 GB, free: 9.762 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityProperties): time 0.004849/0.2798, allocations: 4.049 MB / 1.246 GB, free: 5.688 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.002538/0.2823, allocations: 2.426 MB / 1.248 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.2824, allocations: 0 / 1.248 GB, free: 3.254 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002092/0.2826, allocations: 47.67 kB / 1.248 GB, free: 3.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.000225/0.2829, allocations: 99.34 kB / 1.248 GB, free: 3.109 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.001009/0.2839, allocations: 0.5313 MB / 1.249 GB, free: 2.582 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0002843/0.2842, allocations: 259.8 kB / 1.249 GB, free: 2.328 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 3.973e-05/0.2842, allocations: 13.56 kB / 1.249 GB, free: 2.312 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001723/0.2844, allocations: 115.5 kB / 1.249 GB, free: 2.199 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001259/0.2845, allocations: 87.67 kB / 1.249 GB, free: 2.113 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 2.534e-05/0.2846, allocations: 16 kB / 1.249 GB, free: 2.098 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007277/0.2853, allocations: 455.2 kB / 1.25 GB, free: 1.652 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.889e-05/0.2854, allocations: 39.89 kB / 1.25 GB, free: 1.613 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 8.882e-05/0.2855, allocations: 87.64 kB / 1.25 GB, free: 1.527 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0005726/0.286, allocations: 410.7 kB / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 2.144e-06/0.2861, allocations: 0 / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of FrontEnd: time 8.42e-07/0.2861, allocations: 0 / 1.25 GB, free: 1.125 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 4.218e-06/0.2861, allocations: 0 / 1.25 GB, free: 1.125 MB / 0.9981 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.0006607/0.2867, allocations: 0.5141 MB / 1.251 GB, free: 0.5586 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.033e-05/0.2868, allocations: 12.03 kB / 1.251 GB, free: 0.5469 MB / 0.9981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.492e-05/0.2868, allocations: 58.72 kB / 1.251 GB, free: 492 kB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001757/0.2886, allocations: 172.6 kB / 1.251 GB, free: 320 kB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.2888, allocations: 220.1 kB / 1.251 GB, free: 60 kB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.165e-05/0.2889, allocations: 8.703 kB / 1.251 GB, free: 52 kB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.03e-05/0.2889, allocations: 16.38 kB / 1.251 GB, free: 36 kB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.4561/0.745, allocations: 292.7 kB / 1.252 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.193e-05/0.745, allocations: 3.25 kB / 1.252 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.329e-05/0.7451, allocations: 10.12 kB / 1.252 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.979e-05/0.7451, allocations: 6.797 kB / 1.252 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006808/0.7458, allocations: 259.6 kB / 1.252 GB, free: 14.98 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001226/0.747, allocations: 1.389 MB / 1.253 GB, free: 13.8 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006187/0.7476, allocations: 196.8 kB / 1.253 GB, free: 13.78 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002099/0.7479, allocations: 79.3 kB / 1.253 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.34e-05/0.7479, allocations: 9.719 kB / 1.253 GB, free: 13.77 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.769e-05/0.7479, allocations: 36.5 kB / 1.253 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=18): time 1.864e-06/0.7479, allocations: 0.6875 kB / 1.253 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of matching and sorting (n=18): time 0.0007274/0.7487, allocations: 247 kB / 1.254 GB, free: 13.7 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.108e-05/0.7487, allocations: 53.78 kB / 1.254 GB, free: 13.63 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000103/0.7488, allocations: 159.1 kB / 1.254 GB, free: 13.53 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 1.903e-05/0.7488, allocations: 31.3 kB / 1.254 GB, free: 13.5 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 4.244e-05/0.7489, allocations: 126 kB / 1.254 GB, free: 13.39 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 3.465e-05/0.7489, allocations: 69.8 kB / 1.254 GB, free: 13.36 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.781e-05/0.749, allocations: 46.72 kB / 1.254 GB, free: 13.34 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 4.059e-05/0.749, allocations: 334 kB / 1.255 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000204/0.7492, allocations: 65.08 kB / 1.255 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002214/0.7495, allocations: 142.7 kB / 1.255 GB, free: 12.94 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004212/0.7499, allocations: 218.7 kB / 1.255 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.504e-06/0.7499, allocations: 0.75 kB / 1.255 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.0005499/0.7505, allocations: 252.2 kB / 1.255 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.338e-05/0.7505, allocations: 6.688 kB / 1.255 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.421e-06/0.7505, allocations: 3.562 kB / 1.255 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.45e-05/0.7505, allocations: 6.656 kB / 1.255 GB, free: 12.79 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.7508, allocations: 65.59 kB / 1.255 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.7509, allocations: 7.578 kB / 1.255 GB, free: 12.78 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002039/0.7511, allocations: 30.41 kB / 1.255 GB, free: 12.77 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.399e-05/0.7511, allocations: 13.61 kB / 1.255 GB, free: 12.77 MB / 0.9981 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 7.811e-05/0.7512, allocations: 140.2 kB / 1.255 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.624e-05/0.7512, allocations: 18.94 kB / 1.255 GB, free: 12.64 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005841/0.7518, allocations: 224.6 kB / 1.256 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.176e-06/0.7518, allocations: 2.281 kB / 1.256 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.747e-06/0.7518, allocations: 3.719 kB / 1.256 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.7519, allocations: 3.891 kB / 1.256 GB, free: 12.56 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002041/0.7521, allocations: 242.2 kB / 1.256 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.7521, allocations: 1.609 kB / 1.256 GB, free: 12.34 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002779/0.7524, allocations: 54.33 kB / 1.256 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.265e-06/0.7524, allocations: 1 kB / 1.256 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.74e-05/0.7524, allocations: 3.953 kB / 1.256 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.7524, allocations: 1.438 kB / 1.256 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.7524, allocations: 1.672 kB / 1.256 GB, free: 12.33 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004892/0.7529, allocations: 301.3 kB / 1.256 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.618e-05/0.753, allocations: 105.5 kB / 1.256 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.099e-05/0.753, allocations: 2.297 kB / 1.256 GB, free: 12.04 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002493/0.7533, allocations: 17.28 kB / 1.256 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.403e-05/0.7533, allocations: 13.39 kB / 1.256 GB, free: 12.03 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.628e-05/0.7533, allocations: 13.64 kB / 1.256 GB, free: 12.02 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 6.029e-05/0.7534, allocations: 118.7 kB / 1.257 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of sort global known variables: time 5.01e-07/0.7534, allocations: 0.6875 kB / 1.257 GB, free: 11.94 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.000322/0.7537, allocations: 65.52 kB / 1.257 GB, free: 11.93 MB / 0.9981 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.0007135/0.7544, allocations: 0.8614 MB / 1.257 GB, free: 11.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0005049/0.7549, allocations: 185.2 kB / 1.258 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.116e-06/0.755, allocations: 1.219 kB / 1.258 GB, free: 11.15 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0002204/0.7552, allocations: 88.69 kB / 1.258 GB, free: 11.13 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/0.7556, allocations: 61.47 kB / 1.258 GB, free: 11.11 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002525/0.7582, allocations: 2.167 MB / 1.26 GB, free: 9.48 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001153/0.7583, allocations: 0.7201 MB / 1.261 GB, free: 8.781 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0002265/0.7585, allocations: 50.19 kB / 1.261 GB, free: 8.758 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000104/0.7586, allocations: 51.47 kB / 1.261 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of SimCode: time 2.21e-07/0.7586, allocations: 0.8438 kB / 1.261 GB, free: 8.727 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.225/1.984, allocations: 5.22 MB / 1.266 GB, free: 8.172 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.13/13.11, allocations: 8.812 kB / 1.266 GB, free: 8.16 MB / 0.9981 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=400 --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