Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001439/0.001439, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001773/0.001773, allocations: 193.8 kB / 16.53 MB, free: 6.691 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.475/1.475, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.39/2.39, allocations: 390.2 MB / 0.6647 GB, free: 368 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 67.89 kB / 0.8125 GB, free: 14.43 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7498/0.7511, allocations: 140.4 MB / 0.9496 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002299/0.7534, allocations: 1.256 MB / 0.9508 GB, free: 8.129 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002571/0.756, allocations: 2.502 MB / 0.9533 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.427e-05/0.7561, allocations: 0 / 0.9533 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.842e-05/0.7561, allocations: 3.938 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 3.815e-05/0.7561, allocations: 1.344 kB / 0.9533 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004674/0.7566, allocations: 132.1 kB / 0.9534 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 5.95e-05/0.7567, allocations: 36.27 kB / 0.9534 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.92e-05/0.7567, allocations: 2.125 kB / 0.9534 GB, free: 5.984 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.431e-05/0.7568, allocations: 25.97 kB / 0.9534 GB, free: 5.969 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.34e-05/0.7568, allocations: 14.55 kB / 0.9535 GB, free: 5.961 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.184e-05/0.7569, allocations: 5.156 kB / 0.9535 GB, free: 5.957 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002762/0.7571, allocations: 122.6 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.335e-05/0.7572, allocations: 1.375 kB / 0.9536 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.059e-05/0.7572, allocations: 19.2 kB / 0.9536 GB, free: 5.883 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.7574, allocations: 79.31 kB / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.7574, allocations: 0 / 0.9537 GB, free: 5.844 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.263e-06/0.7574, allocations: 5.406 kB / 0.9537 GB, free: 5.84 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.2e-06/0.7574, allocations: 0 / 0.9537 GB, free: 5.84 MB / 0.7169 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.000356/0.7578, allocations: 356.8 kB / 0.954 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.792e-05/0.7578, allocations: 9.375 kB / 0.954 GB, free: 5.461 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002223/0.7581, allocations: 15.55 kB / 0.954 GB, free: 5.457 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.778e-05/0.7582, allocations: 160.4 kB / 0.9542 GB, free: 5.262 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.653e-05/0.7582, allocations: 5.938 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.811e-05/0.7582, allocations: 3.625 kB / 0.9542 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/0.7584, allocations: 85.77 kB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.187e-06/0.7584, allocations: 0 / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.401e-05/0.7584, allocations: 1.375 kB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.131e-06/0.7584, allocations: 1.562 kB / 0.9543 GB, free: 5.172 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.343e-05/0.7585, allocations: 17.95 kB / 0.9543 GB, free: 5.16 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005159/0.759, allocations: 470.1 kB / 0.9548 GB, free: 4.664 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001139/0.7591, allocations: 70.19 kB / 0.9548 GB, free: 4.582 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.625e-05/0.7591, allocations: 22.62 kB / 0.9548 GB, free: 4.555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.379e-05/0.7592, allocations: 5.5 kB / 0.9548 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.957e-05/0.7592, allocations: 41 kB / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.092e-06/0.7592, allocations: 0 / 0.9549 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0006108/0.7598, allocations: 302.2 kB / 0.9552 GB, free: 4.207 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.7599, allocations: 113.4 kB / 0.9553 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.73e-05/0.7599, allocations: 93.2 kB / 0.9554 GB, free: 3.977 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.549e-05/0.76, allocations: 30.95 kB / 0.9554 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.303e-05/0.76, allocations: 92.94 kB / 0.9555 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.7601, allocations: 26.77 kB / 0.9555 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.285e-05/0.7601, allocations: 33.92 kB / 0.9555 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.323e-05/0.7602, allocations: 315.8 kB / 0.9559 GB, free: 3.477 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.628e-05/0.7602, allocations: 16.52 kB / 0.9559 GB, free: 3.469 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.78e-05/0.7603, allocations: 53.05 kB / 0.9559 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.467e-05/0.7604, allocations: 78.62 kB / 0.956 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.042e-06/0.7604, allocations: 0 / 0.956 GB, free: 3.336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001187/0.7605, allocations: 95.59 kB / 0.9561 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.486e-05/0.7605, allocations: 5.625 kB / 0.9561 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.454e-06/0.7605, allocations: 5.484 kB / 0.9561 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.557e-05/0.7605, allocations: 1.5 kB / 0.9561 GB, free: 3.27 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.574e-05/0.7606, allocations: 20.73 kB / 0.9561 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.7606, allocations: 3 kB / 0.9561 GB, free: 3.266 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.694e-05/0.7607, allocations: 5.438 kB / 0.9561 GB, free: 3.262 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.085e-06/0.7607, allocations: 8.062 kB / 0.9561 GB, free: 3.258 MB / 0.7169 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.086e-05/0.7608, allocations: 121.1 kB / 0.9562 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.806e-05/0.7608, allocations: 3.594 kB / 0.9562 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.589e-05/0.7609, allocations: 8.781 kB / 0.9563 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.667e-06/0.7609, allocations: 5.203 kB / 0.9563 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7609, allocations: 1 kB / 0.9563 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.048e-06/0.7609, allocations: 1.188 kB / 0.9563 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002734/0.7612, allocations: 178.3 kB / 0.9564 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.873e-06/0.7612, allocations: 1.438 kB / 0.9564 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.959e-05/0.7613, allocations: 21 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.635e-06/0.7613, allocations: 1 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.7613, allocations: 1.375 kB / 0.9565 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.7613, allocations: 5.156 kB / 0.9565 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.7613, allocations: 5.328 kB / 0.9565 GB, free: 2.898 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001643/0.7615, allocations: 328.4 kB / 0.9568 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.625e-05/0.7615, allocations: 88.05 kB / 0.9569 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.773e-05/0.7615, allocations: 5.969 kB / 0.9569 GB, free: 2.484 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000161/0.7617, allocations: 6.781 kB / 0.9569 GB, free: 2.48 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.782e-05/0.7617, allocations: 10.8 kB / 0.9569 GB, free: 2.473 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.734e-06/0.7617, allocations: 6.781 kB / 0.9569 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.124e-05/0.7618, allocations: 86 kB / 0.957 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.7618, allocations: 0 / 0.957 GB, free: 2.387 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003131/0.7621, allocations: 10.22 kB / 0.957 GB, free: 2.387 MB / 0.7169 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.0001183/0.7622, allocations: 109.8 kB / 0.9571 GB, free: 2.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001228/0.7623, allocations: 46.66 kB / 0.9571 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.477e-06/0.7623, allocations: 4.906 kB / 0.9571 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.599e-05/0.7624, allocations: 19.62 kB / 0.9572 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004169/0.7628, allocations: 5.281 kB / 0.9572 GB, free: 2.262 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005653/0.7634, allocations: 344.8 kB / 0.9575 GB, free: 1.961 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000137/0.7635, allocations: 0.6892 MB / 0.9582 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 5.383e-05/0.7636, allocations: 11.47 kB / 0.9582 GB, free: 1.246 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.185e-05/0.7636, allocations: 13.44 kB / 0.9582 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of SimCode: time 2.31e-07/0.7636, allocations: 0 / 0.9582 GB, free: 1.238 MB / 0.7169 GB Notification: Performance of Templates: time 0.002727/0.7663, allocations: 0.6401 MB / 0.9588 GB, free: 0.9375 MB / 0.7169 GB make -j1 -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches