Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.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: translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") translateModel(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hLiqSym.|der.hLiqCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001124/0.001124, allocations: 112.3 kB / 16.41 MB, free: 6.008 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.001098/0.001098, allocations: 185 kB / 17.34 MB, free: 5.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.318/1.318, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.582/2.582, allocations: 461.9 MB / 0.7354 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001385/0.001385, allocations: 59.91 kB / 1.055 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8283/0.8297, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002541/0.8323, allocations: 1.258 MB / 1.21 GB, free: 12.33 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.003273/0.8356, allocations: 2.491 MB / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.893e-05/0.8357, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.985e-05/0.8357, allocations: 0 / 1.212 GB, free: 9.82 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 6.021e-05/0.8358, allocations: 11.91 kB / 1.212 GB, free: 9.809 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006855/0.8365, allocations: 131.4 kB / 1.212 GB, free: 9.68 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 9.522e-05/0.8366, allocations: 39.84 kB / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.597e-05/0.8366, allocations: 0 / 1.212 GB, free: 9.641 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.858e-05/0.8367, allocations: 23.92 kB / 1.212 GB, free: 9.617 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.292e-05/0.8368, allocations: 19.91 kB / 1.212 GB, free: 9.598 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.759e-05/0.8368, allocations: 4 kB / 1.212 GB, free: 9.594 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003413/0.8372, allocations: 111.8 kB / 1.212 GB, free: 9.484 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 1.664e-05/0.8372, allocations: 11.97 kB / 1.212 GB, free: 9.473 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.7e-05/0.8372, allocations: 19.94 kB / 1.212 GB, free: 9.453 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0002281/0.8375, allocations: 79.64 kB / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.018e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.379 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.779e-06/0.8375, allocations: 0 / 1.212 GB, free: 9.379 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004234/0.8379, allocations: 353.4 kB / 1.213 GB, free: 8.988 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.998e-05/0.838, allocations: 8.031 kB / 1.213 GB, free: 8.98 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002383/0.8382, allocations: 20.83 kB / 1.213 GB, free: 8.961 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001067/0.8383, allocations: 168.4 kB / 1.213 GB, free: 8.758 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.56e-05/0.8384, allocations: 8.375 kB / 1.213 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.736e-05/0.8384, allocations: 4.375 kB / 1.213 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001543/0.8386, allocations: 76.31 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.8386, allocations: 0 / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.5e-05/0.8386, allocations: 4 kB / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.334e-06/0.8386, allocations: 0 / 1.213 GB, free: 8.652 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.73e-05/0.8387, allocations: 15.94 kB / 1.213 GB, free: 8.637 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006327/0.8393, allocations: 470.8 kB / 1.214 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.8394, allocations: 71.66 kB / 1.214 GB, free: 8.016 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.185e-05/0.8395, allocations: 26.78 kB / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 1.272e-05/0.8395, allocations: 0 / 1.214 GB, free: 7.98 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.868e-05/0.8395, allocations: 42.5 kB / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=5): time 1.051e-06/0.8395, allocations: 0 / 1.214 GB, free: 7.93 MB / 0.9356 GB Notification: Performance of matching and sorting (n=7): time 0.0006394/0.8402, allocations: 294.8 kB / 1.214 GB, free: 7.59 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.8402, allocations: 114.8 kB / 1.214 GB, free: 7.453 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.592e-05/0.8403, allocations: 97.84 kB / 1.214 GB, free: 7.348 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.616e-05/0.8403, allocations: 33.64 kB / 1.214 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.758e-05/0.8404, allocations: 84.05 kB / 1.214 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 2.195e-05/0.8404, allocations: 35.48 kB / 1.214 GB, free: 7.188 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.277e-05/0.8405, allocations: 25.72 kB / 1.214 GB, free: 7.156 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001005/0.8406, allocations: 322.8 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.999e-05/0.8406, allocations: 12 kB / 1.215 GB, free: 6.82 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.576e-05/0.8407, allocations: 49.14 kB / 1.215 GB, free: 6.754 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.262e-05/0.8408, allocations: 85.02 kB / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.262e-06/0.8408, allocations: 0 / 1.215 GB, free: 6.652 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001327/0.8409, allocations: 89.55 kB / 1.215 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.568e-05/0.8409, allocations: 6.188 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.523e-06/0.8409, allocations: 4 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.841, allocations: 0 / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.666e-05/0.841, allocations: 24.11 kB / 1.215 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.428e-06/0.8411, allocations: 7.984 kB / 1.215 GB, free: 6.52 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.973e-05/0.8411, allocations: 8 kB / 1.215 GB, free: 6.512 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.135e-06/0.8411, allocations: 4 kB / 1.215 GB, free: 6.508 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (12): * Single equations (assignments): 12 * 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 8.182e-05/0.8412, allocations: 121.7 kB / 1.215 GB, free: 6.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.8413, allocations: 7.906 kB / 1.215 GB, free: 6.371 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.065e-05/0.8413, allocations: 11.56 kB / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.8413, allocations: 0 / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.8413, allocations: 0 / 1.215 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.8413, allocations: 4 kB / 1.215 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003262/0.8417, allocations: 181.6 kB / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.8417, allocations: 0 / 1.215 GB, free: 6.129 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.91e-05/0.8418, allocations: 19.98 kB / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.066e-06/0.8418, allocations: 64 / 1.215 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.8418, allocations: 8 kB / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.509e-06/0.8418, allocations: 0 / 1.215 GB, free: 6.102 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.8418, allocations: 7.875 kB / 1.215 GB, free: 6.094 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002331/0.842, allocations: 329.9 kB / 1.216 GB, free: 5.754 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.485e-05/0.8421, allocations: 89.14 kB / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.476e-05/0.8421, allocations: 0 / 1.216 GB, free: 5.648 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001812/0.8423, allocations: 4 kB / 1.216 GB, free: 5.645 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.816e-05/0.8423, allocations: 4 kB / 1.216 GB, free: 5.641 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.325e-06/0.8423, allocations: 7.922 kB / 1.216 GB, free: 5.633 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.933e-05/0.8424, allocations: 83.66 kB / 1.216 GB, free: 5.551 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8424, allocations: 4 kB / 1.216 GB, free: 5.547 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003388/0.8427, allocations: 12 kB / 1.216 GB, free: 5.535 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (hLiqSym,cpSym,cvSym) * 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 (7): * Single equations (assignments): 7 * 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.0001414/0.8429, allocations: 111.3 kB / 1.216 GB, free: 5.414 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001316/0.843, allocations: 43.92 kB / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/0.843, allocations: 0 / 1.216 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.866e-05/0.8431, allocations: 28.17 kB / 1.216 GB, free: 5.344 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004829/0.8436, allocations: 8.062 kB / 1.216 GB, free: 5.336 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006237/0.8442, allocations: 365.6 kB / 1.216 GB, free: 4.938 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002624/0.8445, allocations: 0.6807 MB / 1.217 GB, free: 4.23 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.003e-05/0.8445, allocations: 11.44 kB / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.8445, allocations: 0 / 1.217 GB, free: 4.219 MB / 0.9356 GB Notification: Performance of Templates: time 0.002524/0.847, allocations: 0.7928 MB / 1.218 GB, free: 3.434 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches