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.001658/0.001658, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.00198/0.00198, allocations: 198.7 kB / 16.14 MB, free: 6.645 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.424/1.424, allocations: 222.9 MB / 239.8 MB, free: 4.57 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.469/2.469, allocations: 390.2 MB / 0.6642 GB, free: 0.6445 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001296/0.001296, allocations: 59.91 kB / 0.8118 GB, free: 14.89 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6674/0.6687, allocations: 140.4 MB / 0.9489 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002604/0.6714, allocations: 1.323 MB / 0.9502 GB, free: 8.156 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003023/0.6744, allocations: 2.497 MB / 0.9527 GB, free: 6.145 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.575e-05/0.6745, allocations: 5.594 kB / 0.9527 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.408e-05/0.6745, allocations: 0 / 0.9527 GB, free: 6.141 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.881e-05/0.6746, allocations: 3.984 kB / 0.9527 GB, free: 6.137 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00062/0.6752, allocations: 121.2 kB / 0.9528 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.705e-05/0.6753, allocations: 32.81 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.346e-05/0.6753, allocations: 2.562 kB / 0.9528 GB, free: 6.031 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.93e-05/0.6754, allocations: 20.27 kB / 0.9528 GB, free: 6.02 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.265e-05/0.6755, allocations: 23.84 kB / 0.9529 GB, free: 6.004 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.6755, allocations: 5.625 kB / 0.9529 GB, free: 6 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003454/0.6758, allocations: 108.6 kB / 0.953 GB, free: 5.949 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.688e-05/0.6759, allocations: 13.47 kB / 0.953 GB, free: 5.938 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.062e-05/0.6759, allocations: 11.97 kB / 0.953 GB, free: 5.934 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0002237/0.6761, allocations: 78.34 kB / 0.9531 GB, free: 5.895 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.52e-06/0.6761, allocations: 9.188 kB / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.272e-06/0.6761, allocations: 0 / 0.9531 GB, free: 5.887 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.037e-06/0.6762, allocations: 0 / 0.9531 GB, free: 5.887 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.0003815/0.6765, allocations: 353.8 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.6766, allocations: 8.719 kB / 0.9534 GB, free: 5.512 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002381/0.6768, allocations: 18.52 kB / 0.9534 GB, free: 5.504 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.136e-05/0.6769, allocations: 165.5 kB / 0.9536 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.339e-05/0.6769, allocations: 1.719 kB / 0.9536 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.511e-05/0.677, allocations: 8.094 kB / 0.9536 GB, free: 5.301 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001358/0.6771, allocations: 69.41 kB / 0.9537 GB, free: 5.23 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.6771, allocations: 4 kB / 0.9537 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.351e-05/0.6771, allocations: 5.281 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.32e-06/0.6771, allocations: 1.375 kB / 0.9537 GB, free: 5.223 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.039e-05/0.6772, allocations: 10.28 kB / 0.9537 GB, free: 5.219 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005193/0.6777, allocations: 473.6 kB / 0.9541 GB, free: 4.719 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000136/0.6779, allocations: 75.16 kB / 0.9542 GB, free: 4.633 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.965e-05/0.6779, allocations: 34.53 kB / 0.9542 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 9.748e-06/0.6779, allocations: 1.25 kB / 0.9542 GB, free: 4.594 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.754e-05/0.678, allocations: 36.16 kB / 0.9543 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.163e-06/0.678, allocations: 0 / 0.9543 GB, free: 4.551 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.00069/0.6787, allocations: 299.6 kB / 0.9546 GB, free: 4.258 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.995e-05/0.6787, allocations: 108 kB / 0.9547 GB, free: 4.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.945e-05/0.6788, allocations: 98.39 kB / 0.9548 GB, free: 4.027 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.357e-05/0.6788, allocations: 25.95 kB / 0.9548 GB, free: 3.996 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.415e-05/0.6788, allocations: 89.42 kB / 0.9549 GB, free: 3.906 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.454e-05/0.6789, allocations: 27.55 kB / 0.9549 GB, free: 3.883 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.569e-05/0.6789, allocations: 29.78 kB / 0.9549 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.679, allocations: 320.2 kB / 0.9552 GB, free: 3.535 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.811e-05/0.679, allocations: 15.38 kB / 0.9552 GB, free: 3.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.134e-05/0.6791, allocations: 57.27 kB / 0.9553 GB, free: 3.465 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.307e-05/0.6791, allocations: 74.23 kB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.6792, allocations: 1.594 kB / 0.9554 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000128/0.6793, allocations: 98.52 kB / 0.9555 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.6793, allocations: 7.469 kB / 0.9555 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.165e-06/0.6793, allocations: 1.094 kB / 0.9555 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.747e-05/0.6793, allocations: 1.438 kB / 0.9555 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.028e-05/0.6794, allocations: 28.67 kB / 0.9555 GB, free: 3.316 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.285e-06/0.6794, allocations: 6.109 kB / 0.9555 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.032e-05/0.6795, allocations: 2.719 kB / 0.9555 GB, free: 3.312 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.6795, allocations: 4.188 kB / 0.9555 GB, free: 3.312 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 6.423e-05/0.6796, allocations: 117.4 kB / 0.9556 GB, free: 3.191 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.414e-05/0.6796, allocations: 10.88 kB / 0.9556 GB, free: 3.184 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.944e-05/0.6797, allocations: 12.91 kB / 0.9556 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.6797, allocations: 1.281 kB / 0.9557 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.6797, allocations: 1.062 kB / 0.9557 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6797, allocations: 1.188 kB / 0.9557 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002968/0.68, allocations: 186 kB / 0.9558 GB, free: 2.957 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.68, allocations: 5.312 kB / 0.9558 GB, free: 2.953 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.442e-05/0.6801, allocations: 16.48 kB / 0.9559 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.507e-06/0.6801, allocations: 1.219 kB / 0.9559 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.235e-06/0.6801, allocations: 1.281 kB / 0.9559 GB, free: 2.949 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.6801, allocations: 5.375 kB / 0.9559 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.6802, allocations: 1.438 kB / 0.9559 GB, free: 2.945 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001888/0.6803, allocations: 333.5 kB / 0.9562 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.82e-05/0.6804, allocations: 83.92 kB / 0.9563 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.573e-05/0.6804, allocations: 1.625 kB / 0.9563 GB, free: 2.535 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001748/0.6806, allocations: 9.438 kB / 0.9563 GB, free: 2.527 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.033e-05/0.6806, allocations: 7.188 kB / 0.9563 GB, free: 2.523 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.678e-06/0.6806, allocations: 10.83 kB / 0.9563 GB, free: 2.516 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 2.164e-05/0.6807, allocations: 78.25 kB / 0.9564 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6807, allocations: 0 / 0.9564 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0003303/0.681, allocations: 13.88 kB / 0.9564 GB, free: 2.438 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.0001313/0.6811, allocations: 102 kB / 0.9565 GB, free: 2.352 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.6813, allocations: 51.08 kB / 0.9565 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.6813, allocations: 0 / 0.9565 GB, free: 2.328 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.726e-05/0.6813, allocations: 19.77 kB / 0.9565 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004756/0.6818, allocations: 6.734 kB / 0.9565 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005871/0.6824, allocations: 364.5 kB / 0.9569 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001182/0.6825, allocations: 0.6827 MB / 0.9576 GB, free: 1.297 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 6.005e-05/0.6826, allocations: 15.05 kB / 0.9576 GB, free: 1.285 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.325e-05/0.6826, allocations: 11.44 kB / 0.9576 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of SimCode: time 4.61e-07/0.6826, allocations: 0 / 0.9576 GB, free: 1.277 MB / 0.7169 GB Notification: Performance of Templates: time 0.002789/0.6854, allocations: 0.616 MB / 0.9582 GB, free: 0.9883 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