Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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: 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_10_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_10_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.001298/0.001298, allocations: 107.4 kB / 16.41 MB, free: 6.453 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.00131/0.00131, allocations: 192.2 kB / 17.34 MB, free: 5.719 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.07 MB / 206.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.394/2.394, allocations: 437.1 MB / 0.7112 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 64.05 kB / 1.019 GB, free: 9.453 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7708/0.7722, allocations: 151.6 MB / 1.167 GB, free: 3.855 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002209/0.7744, allocations: 1.274 MB / 1.169 GB, free: 2.574 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.002962/0.7774, allocations: 2.494 MB / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.641e-05/0.7775, allocations: 0 / 1.171 GB, free: 72 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 1.948e-05/0.7775, allocations: 3.938 kB / 1.171 GB, free: 68 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.96e-05/0.7776, allocations: 7.922 kB / 1.171 GB, free: 60 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000616/0.7782, allocations: 143.4 kB / 1.171 GB, free: 15.92 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 7.244e-05/0.7783, allocations: 31.91 kB / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 3.125e-05/0.7783, allocations: 0 / 1.171 GB, free: 15.89 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 4.245e-05/0.7784, allocations: 19.94 kB / 1.171 GB, free: 15.87 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 5.929e-05/0.7784, allocations: 19.91 kB / 1.171 GB, free: 15.85 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 9.618e-06/0.7784, allocations: 4 kB / 1.171 GB, free: 15.84 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000289/0.7787, allocations: 115.7 kB / 1.171 GB, free: 15.73 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.213e-05/0.7788, allocations: 8 kB / 1.171 GB, free: 15.72 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.08e-05/0.7788, allocations: 23.92 kB / 1.171 GB, free: 15.7 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.779, allocations: 83.62 kB / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.466e-06/0.779, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.423e-06/0.779, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 4.678e-06/0.779, allocations: 0 / 1.171 GB, free: 15.62 MB / 0.9044 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.0003936/0.7794, allocations: 353.4 kB / 1.172 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.7795, allocations: 8.922 kB / 1.172 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002134/0.7797, allocations: 16.84 kB / 1.172 GB, free: 15.21 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001252/0.7798, allocations: 164.4 kB / 1.172 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.071e-05/0.7798, allocations: 8.375 kB / 1.172 GB, free: 15 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.395e-05/0.7799, allocations: 8.312 kB / 1.172 GB, free: 14.99 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001241/0.78, allocations: 68.39 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.784e-06/0.78, allocations: 0 / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.78, allocations: 4 kB / 1.172 GB, free: 14.91 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.8e-06/0.78, allocations: 3.984 kB / 1.172 GB, free: 14.9 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.146e-05/0.7801, allocations: 15.94 kB / 1.172 GB, free: 14.89 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005853/0.7807, allocations: 466.8 kB / 1.172 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001329/0.7808, allocations: 75.66 kB / 1.173 GB, free: 14.27 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.022e-05/0.7809, allocations: 22.7 kB / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 8.867e-06/0.7809, allocations: 0 / 1.173 GB, free: 14.23 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.193e-05/0.7809, allocations: 42.59 kB / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.7809, allocations: 0 / 1.173 GB, free: 14.18 MB / 0.9044 GB Notification: Performance of matching and sorting (n=7): time 0.0006202/0.7816, allocations: 298.4 kB / 1.173 GB, free: 13.84 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.957e-05/0.7816, allocations: 106.8 kB / 1.173 GB, free: 13.71 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.643e-05/0.7817, allocations: 110.1 kB / 1.173 GB, free: 13.59 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.88e-05/0.7817, allocations: 29.7 kB / 1.173 GB, free: 13.56 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 4.904e-05/0.7818, allocations: 87.98 kB / 1.173 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.271e-05/0.7818, allocations: 31.55 kB / 1.173 GB, free: 13.44 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.853e-05/0.7819, allocations: 25.72 kB / 1.173 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001032/0.782, allocations: 322.8 kB / 1.174 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.875e-05/0.782, allocations: 12 kB / 1.174 GB, free: 13.07 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.578e-05/0.7821, allocations: 53.08 kB / 1.174 GB, free: 13 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.618e-05/0.7822, allocations: 77.08 kB / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.021e-06/0.7822, allocations: 0 / 1.174 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001335/0.7823, allocations: 93.55 kB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.376e-05/0.7823, allocations: 4 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.7823, allocations: 4.062 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.384e-05/0.7824, allocations: 4 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.323e-05/0.7825, allocations: 20.12 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.7825, allocations: 7.938 kB / 1.174 GB, free: 12.77 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.233e-05/0.7825, allocations: 8 kB / 1.174 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.153e-06/0.7825, allocations: 4 kB / 1.174 GB, free: 12.76 MB / 0.9044 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 7.602e-05/0.7826, allocations: 121.7 kB / 1.174 GB, free: 12.63 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.163e-05/0.7827, allocations: 7.906 kB / 1.174 GB, free: 12.62 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.194e-05/0.7827, allocations: 11.56 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.285e-06/0.7827, allocations: 0 / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7827, allocations: 0 / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.7827, allocations: 4 kB / 1.174 GB, free: 12.6 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003368/0.7831, allocations: 181.6 kB / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.723e-06/0.7831, allocations: 0 / 1.174 GB, free: 12.37 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.7832, allocations: 19.92 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.7832, allocations: 4 kB / 1.174 GB, free: 12.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.7832, allocations: 4 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/0.7832, allocations: 3.938 kB / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.7832, allocations: 0 / 1.174 GB, free: 12.34 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002481/0.7835, allocations: 329.9 kB / 1.174 GB, free: 12 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 5.621e-05/0.7835, allocations: 81.11 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.563e-05/0.7836, allocations: 4 kB / 1.175 GB, free: 11.9 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001805/0.7838, allocations: 8.031 kB / 1.175 GB, free: 11.89 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.7838, allocations: 7.938 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.714e-06/0.7838, allocations: 3.938 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 4.569e-05/0.7838, allocations: 87.27 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7839, allocations: 4 kB / 1.175 GB, free: 11.79 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003266/0.7842, allocations: 12 kB / 1.175 GB, free: 11.78 MB / 0.9044 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.0001342/0.7843, allocations: 103.8 kB / 1.175 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0001245/0.7845, allocations: 51.98 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.965e-06/0.7845, allocations: 3.938 kB / 1.175 GB, free: 11.61 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 3.897e-05/0.7845, allocations: 20.17 kB / 1.175 GB, free: 11.59 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004691/0.785, allocations: 12.12 kB / 1.175 GB, free: 11.58 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006334/0.7856, allocations: 353.7 kB / 1.175 GB, free: 11.2 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002575/0.7859, allocations: 0.6846 MB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.59e-05/0.786, allocations: 11.44 kB / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of SimCode: time 1.683e-06/0.786, allocations: 0 / 1.176 GB, free: 10.48 MB / 0.9044 GB Notification: Performance of Templates: time 0.002327/0.7883, allocations: 0.7962 MB / 1.177 GB, free: 9.688 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches