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.00592/0.00592, allocations: 101.6 kB / 15.73 MB, free: 5.996 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.001197/0.001197, allocations: 190.3 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.42/1.42, allocations: 222.9 MB / 240.4 MB, free: 4.32 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.712/2.712, allocations: 437 MB / 0.7105 GB, free: 5.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001212/0.001212, allocations: 63.89 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3495/0.3507, allocations: 151.6 MB / 1.167 GB, free: 6.863 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002507/0.3532, allocations: 1.254 MB / 1.168 GB, free: 5.594 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003454/0.3567, allocations: 2.507 MB / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.891e-05/0.3568, allocations: 0 / 1.17 GB, free: 3.074 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.735e-05/0.3568, allocations: 3.938 kB / 1.17 GB, free: 3.07 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.065e-05/0.3569, allocations: 7.984 kB / 1.17 GB, free: 3.062 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006544/0.3575, allocations: 139.3 kB / 1.17 GB, free: 2.926 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.632e-05/0.3576, allocations: 31.86 kB / 1.17 GB, free: 2.895 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.072e-05/0.3577, allocations: 4 kB / 1.17 GB, free: 2.891 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 5.186e-05/0.3577, allocations: 23.91 kB / 1.17 GB, free: 2.867 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 6.806e-05/0.3578, allocations: 15.98 kB / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.382e-05/0.3578, allocations: 0 / 1.17 GB, free: 2.852 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000352/0.3582, allocations: 119.7 kB / 1.171 GB, free: 2.734 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.659e-05/0.3582, allocations: 11.92 kB / 1.171 GB, free: 2.723 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.46e-05/0.3583, allocations: 19.92 kB / 1.171 GB, free: 2.703 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0002339/0.3585, allocations: 83.78 kB / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.067e-06/0.3585, allocations: 0 / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of FrontEnd: time 3.296e-06/0.3585, allocations: 0 / 1.171 GB, free: 2.621 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.961e-06/0.3585, allocations: 3.938 kB / 1.171 GB, free: 2.617 MB / 0.92 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.000477/0.359, allocations: 347.4 kB / 1.171 GB, free: 2.23 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.163e-05/0.3591, allocations: 12.03 kB / 1.171 GB, free: 2.219 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002249/0.3593, allocations: 12.92 kB / 1.171 GB, free: 2.207 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/0.3594, allocations: 164.4 kB / 1.171 GB, free: 2.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.3595, allocations: 12.31 kB / 1.171 GB, free: 1.996 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.863e-05/0.3595, allocations: 8.328 kB / 1.171 GB, free: 1.988 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/0.3597, allocations: 76.31 kB / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.3597, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.3597, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.3597, allocations: 0 / 1.171 GB, free: 1.898 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.666e-05/0.3598, allocations: 15.94 kB / 1.171 GB, free: 1.883 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006401/0.3604, allocations: 470.9 kB / 1.172 GB, free: 1.359 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001364/0.3606, allocations: 75.72 kB / 1.172 GB, free: 1.258 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.439e-05/0.3606, allocations: 22.72 kB / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 9.117e-06/0.3606, allocations: 0 / 1.172 GB, free: 1.227 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.687e-05/0.3607, allocations: 38.5 kB / 1.172 GB, free: 1.18 MB / 0.92 GB Notification: Performance of pre-optimization done (n=5): time 1.042e-06/0.3607, allocations: 4 kB / 1.172 GB, free: 1.176 MB / 0.92 GB Notification: Performance of matching and sorting (n=7): time 0.0006498/0.3613, allocations: 310.2 kB / 1.172 GB, free: 0.8203 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.864e-05/0.3614, allocations: 106.8 kB / 1.172 GB, free: 0.6914 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.107e-05/0.3615, allocations: 93.86 kB / 1.172 GB, free: 0.5898 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.577e-05/0.3615, allocations: 29.7 kB / 1.172 GB, free: 0.5547 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.991e-05/0.3615, allocations: 92.03 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.776e-05/0.3616, allocations: 23.8 kB / 1.173 GB, free: 448 kB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.791e-05/0.3616, allocations: 25.97 kB / 1.173 GB, free: 416 kB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.3617, allocations: 326.8 kB / 1.173 GB, free: 80 kB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.183e-05/0.3618, allocations: 12 kB / 1.173 GB, free: 68 kB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.908e-05/0.3618, allocations: 53.08 kB / 1.173 GB, free: 16 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.823e-05/0.3619, allocations: 85.52 kB / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.173e-06/0.3619, allocations: 0 / 1.173 GB, free: 15.89 MB / 0.9356 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001351/0.3621, allocations: 97.5 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.533e-05/0.3621, allocations: 4 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.3621, allocations: 0 / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.083e-05/0.3621, allocations: 4 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.321e-05/0.3622, allocations: 24.11 kB / 1.173 GB, free: 15.76 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.638e-06/0.3622, allocations: 7.984 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.706e-05/0.3623, allocations: 4 kB / 1.173 GB, free: 15.75 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.303e-06/0.3623, allocations: 4 kB / 1.173 GB, free: 15.75 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 9.706e-05/0.3624, allocations: 128.5 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.927e-05/0.3624, allocations: 4 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.3625, allocations: 7.562 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-06/0.3625, allocations: 0 / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.892e-06/0.3625, allocations: 4 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3625, allocations: 7.984 kB / 1.173 GB, free: 15.59 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003291/0.3628, allocations: 169.6 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.905e-06/0.3629, allocations: 3.984 kB / 1.173 GB, free: 15.37 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.169e-05/0.3629, allocations: 16 kB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.094e-06/0.363, allocations: 3.938 kB / 1.173 GB, free: 15.35 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.363, allocations: 4 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.363, allocations: 4 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.363, allocations: 3.938 kB / 1.173 GB, free: 15.34 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.3632, allocations: 334 kB / 1.174 GB, free: 14.99 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.45e-05/0.3633, allocations: 85.09 kB / 1.174 GB, free: 14.89 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.729e-05/0.3633, allocations: 8 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001645/0.3635, allocations: 0 / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.569e-05/0.3635, allocations: 4 kB / 1.174 GB, free: 14.88 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.192e-05/0.3635, allocations: 15.98 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.423e-05/0.3636, allocations: 87.28 kB / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of sort global known variables: time 3.316e-06/0.3636, allocations: 0 / 1.174 GB, free: 14.78 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0003223/0.3639, allocations: 15.88 kB / 1.174 GB, free: 14.76 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.000124/0.364, allocations: 107.2 kB / 1.174 GB, free: 14.64 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001183/0.3642, allocations: 44.34 kB / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.745e-06/0.3642, allocations: 0 / 1.174 GB, free: 14.6 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 2.674e-05/0.3642, allocations: 24.17 kB / 1.174 GB, free: 14.58 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004198/0.3646, allocations: 11.66 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005856/0.3652, allocations: 327.8 kB / 1.175 GB, free: 14.22 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002496/0.3655, allocations: 0.6846 MB / 1.175 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 5.039e-05/0.3655, allocations: 15.84 kB / 1.175 GB, free: 13.49 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.245e-05/0.3656, allocations: 11.44 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of SimCode: time 2e-07/0.3656, allocations: 0 / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of Templates: time 0.002807/0.3684, allocations: 0.6487 MB / 1.176 GB, free: 12.88 MB / 0.9356 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/jenkins/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