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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.0009655/0.0009656, allocations: 92.16 kB / 16.02 MB, free: 80 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.001266/0.001266, allocations: 182 kB / 16.92 MB, free: 6.922 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.387/1.387, allocations: 223.3 MB / 241 MB, free: 5.324 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.9 MB / 0.667 GB, free: 2.316 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003733/0.0003731, allocations: 11.94 kB / 0.8166 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6664/0.6668, allocations: 142.4 MB / 0.9557 GB, free: 7.809 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.001129/0.668, allocations: 0.9927 MB / 0.9567 GB, free: 7.008 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00251/0.6705, allocations: 2.463 MB / 0.9591 GB, free: 5.023 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.729e-05/0.6705, allocations: 4 kB / 0.9591 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.601e-05/0.6706, allocations: 6.078 kB / 0.9591 GB, free: 5.016 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 4.546e-05/0.6706, allocations: 3.938 kB / 0.9591 GB, free: 5.012 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000449/0.6711, allocations: 116.7 kB / 0.9592 GB, free: 4.926 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.24e-05/0.6711, allocations: 32.47 kB / 0.9592 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.6712, allocations: 1.594 kB / 0.9592 GB, free: 4.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 4.299e-05/0.6712, allocations: 25.7 kB / 0.9593 GB, free: 4.895 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 5.694e-05/0.6713, allocations: 23.66 kB / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.044e-05/0.6713, allocations: 1.469 kB / 0.9593 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002497/0.6716, allocations: 107.9 kB / 0.9594 GB, free: 4.828 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.6716, allocations: 10.72 kB / 0.9594 GB, free: 4.82 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.26e-05/0.6716, allocations: 39.92 kB / 0.9594 GB, free: 4.781 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0001346/0.6718, allocations: 53.05 kB / 0.9595 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.6718, allocations: 5.469 kB / 0.9595 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6718, allocations: 0 / 0.9595 GB, free: 4.754 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.348e-06/0.6718, allocations: 0 / 0.9595 GB, free: 4.754 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.0003097/0.6721, allocations: 348.5 kB / 0.9598 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.821e-05/0.6721, allocations: 9.188 kB / 0.9598 GB, free: 4.379 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002119/0.6724, allocations: 17.91 kB / 0.9599 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.792e-05/0.6724, allocations: 160.4 kB / 0.96 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.288e-05/0.6725, allocations: 2.125 kB / 0.96 GB, free: 4.176 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.184e-05/0.6725, allocations: 8 kB / 0.96 GB, free: 4.172 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001285/0.6726, allocations: 74.69 kB / 0.9601 GB, free: 4.098 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.135e-06/0.6726, allocations: 7.938 kB / 0.9601 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.258e-05/0.6727, allocations: 0 / 0.9601 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.073e-06/0.6727, allocations: 5.766 kB / 0.9601 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.704e-05/0.6727, allocations: 11.16 kB / 0.9601 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004766/0.6732, allocations: 475.1 kB / 0.9606 GB, free: 3.582 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.6733, allocations: 73.81 kB / 0.9606 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.782e-05/0.6734, allocations: 30.78 kB / 0.9607 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 8.836e-06/0.6734, allocations: 1.375 kB / 0.9607 GB, free: 3.461 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.6734, allocations: 37.31 kB / 0.9607 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=5): time 1.262e-06/0.6734, allocations: 0 / 0.9607 GB, free: 3.418 MB / 0.7169 GB Notification: Performance of matching and sorting (n=7): time 0.0005332/0.6739, allocations: 302.4 kB / 0.961 GB, free: 3.121 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.298e-05/0.674, allocations: 108.1 kB / 0.9611 GB, free: 2.992 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.495e-05/0.674, allocations: 101.9 kB / 0.9612 GB, free: 2.887 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.068e-05/0.6741, allocations: 27.33 kB / 0.9612 GB, free: 2.855 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.618e-05/0.6741, allocations: 89.42 kB / 0.9613 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.444e-05/0.6741, allocations: 26.39 kB / 0.9613 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.269e-05/0.6741, allocations: 17.84 kB / 0.9613 GB, free: 2.723 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.409e-05/0.6742, allocations: 324.1 kB / 0.9617 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.482e-05/0.6742, allocations: 10.88 kB / 0.9617 GB, free: 2.395 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.705e-05/0.6743, allocations: 49.52 kB / 0.9617 GB, free: 2.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.61e-05/0.6743, allocations: 75.08 kB / 0.9618 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.71e-07/0.6744, allocations: 0 / 0.9618 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001208/0.6745, allocations: 103.3 kB / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.42e-05/0.6745, allocations: 5.5 kB / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.6745, allocations: 1.375 kB / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.234e-05/0.6745, allocations: 2.75 kB / 0.9619 GB, free: 2.199 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.395e-05/0.6746, allocations: 28.48 kB / 0.9619 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.6746, allocations: 1.375 kB / 0.9619 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.509e-05/0.6747, allocations: 2.75 kB / 0.9619 GB, free: 2.188 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.284e-06/0.6747, allocations: 4.125 kB / 0.9619 GB, free: 2.188 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 5.74e-05/0.6747, allocations: 120.5 kB / 0.962 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.857e-05/0.6748, allocations: 12.16 kB / 0.9621 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.835e-05/0.6748, allocations: 7.562 kB / 0.9621 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.6748, allocations: 10.67 kB / 0.9621 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.488e-06/0.6748, allocations: 0 / 0.9621 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.276e-06/0.6748, allocations: 1.375 kB / 0.9621 GB, free: 2.039 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.6751, allocations: 182 kB / 0.9622 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.6751, allocations: 1.375 kB / 0.9622 GB, free: 1.828 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.109e-05/0.6752, allocations: 17.73 kB / 0.9623 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.6752, allocations: 1.375 kB / 0.9623 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.336e-06/0.6753, allocations: 1.375 kB / 0.9623 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.585e-06/0.6753, allocations: 1.375 kB / 0.9623 GB, free: 1.824 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.6753, allocations: 4 kB / 0.9623 GB, free: 1.82 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001698/0.6754, allocations: 332.4 kB / 0.9626 GB, free: 1.508 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.79e-05/0.6755, allocations: 84.11 kB / 0.9627 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.6755, allocations: 1.656 kB / 0.9627 GB, free: 1.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001663/0.6757, allocations: 6.719 kB / 0.9627 GB, free: 1.406 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.47e-05/0.6757, allocations: 6.781 kB / 0.9627 GB, free: 1.402 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.355e-06/0.6757, allocations: 11.2 kB / 0.9627 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 1.96e-05/0.6757, allocations: 77.56 kB / 0.9628 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6757, allocations: 0 / 0.9628 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.000309/0.6761, allocations: 15 kB / 0.9628 GB, free: 1.316 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.0001112/0.6762, allocations: 109.3 kB / 0.9629 GB, free: 1.223 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.6763, allocations: 50.47 kB / 0.9629 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.155e-06/0.6763, allocations: 1.312 kB / 0.9629 GB, free: 1.199 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 2.494e-05/0.6763, allocations: 23.48 kB / 0.963 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004125/0.6768, allocations: 8.656 kB / 0.963 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005597/0.6773, allocations: 426.2 kB / 0.9634 GB, free: 0.7969 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001279/0.6775, allocations: 0.6944 MB / 0.964 GB, free: 88 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.524e-05/0.6775, allocations: 11.97 kB / 0.9641 GB, free: 80 kB / 0.7169 GB Notification: Performance of SimCode: time 3.21e-07/0.6775, allocations: 0 / 0.9641 GB, free: 80 kB / 0.7169 GB Notification: Performance of Templates: time 0.00233/0.6798, allocations: 0.7788 MB / 0.9648 GB, free: 15.68 MB / 0.7325 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/jenkins1/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