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.00187/0.00187, allocations: 119.1 kB / 16.37 MB, free: 6.004 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.001995/0.001995, allocations: 192.8 kB / 17.31 MB, free: 5.613 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.449/1.449, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.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.295/2.295, allocations: 390.3 MB / 0.6655 GB, free: 0.6055 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00175/0.00175, allocations: 61.31 kB / 0.814 GB, free: 32.8 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3049/0.3066, allocations: 140.4 MB / 0.9511 GB, free: 8.047 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002538/0.3092, allocations: 1.26 MB / 0.9524 GB, free: 6.777 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003268/0.3125, allocations: 2.513 MB / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.547e-05/0.3126, allocations: 0 / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 1.791e-05/0.3126, allocations: 0 / 0.9548 GB, free: 4.25 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 5.4e-05/0.3127, allocations: 3.938 kB / 0.9548 GB, free: 4.246 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005993/0.3133, allocations: 127.4 kB / 0.9549 GB, free: 4.121 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.378e-05/0.3134, allocations: 35.86 kB / 0.955 GB, free: 4.086 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 3.715e-05/0.3134, allocations: 7.984 kB / 0.955 GB, free: 4.078 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 4.437e-05/0.3135, allocations: 15.92 kB / 0.955 GB, free: 4.062 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.156e-05/0.3135, allocations: 19.92 kB / 0.955 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.078e-05/0.3136, allocations: 0 / 0.955 GB, free: 4.043 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003146/0.3139, allocations: 119.8 kB / 0.9551 GB, free: 3.926 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 1.452e-05/0.3139, allocations: 4 kB / 0.9551 GB, free: 3.922 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.395e-05/0.3139, allocations: 19.91 kB / 0.9551 GB, free: 3.902 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0002189/0.3142, allocations: 87.78 kB / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 5.441e-06/0.3142, allocations: 0 / 0.9552 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.895e-06/0.3142, allocations: 4 kB / 0.9552 GB, free: 3.812 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.3142, allocations: 0 / 0.9552 GB, free: 3.812 MB / 0.7325 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.0004967/0.3147, allocations: 355.4 kB / 0.9556 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.372e-05/0.3148, allocations: 12.03 kB / 0.9556 GB, free: 3.406 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002459/0.315, allocations: 8.938 kB / 0.9556 GB, free: 3.398 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001383/0.3152, allocations: 164.3 kB / 0.9558 GB, free: 3.199 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.3152, allocations: 4.375 kB / 0.9558 GB, free: 3.195 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.387e-05/0.3152, allocations: 16.27 kB / 0.9558 GB, free: 3.18 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001488/0.3154, allocations: 76.33 kB / 0.9558 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.3154, allocations: 0 / 0.9558 GB, free: 3.09 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.27e-05/0.3154, allocations: 3.938 kB / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.3154, allocations: 0 / 0.9558 GB, free: 3.086 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.29e-05/0.3155, allocations: 15.92 kB / 0.9559 GB, free: 3.07 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006383/0.3161, allocations: 470.9 kB / 0.9563 GB, free: 2.547 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001366/0.3163, allocations: 71.78 kB / 0.9564 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.469e-05/0.3163, allocations: 22.58 kB / 0.9564 GB, free: 2.418 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 1.004e-05/0.3163, allocations: 4 kB / 0.9564 GB, free: 2.414 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.292e-05/0.3164, allocations: 30.56 kB / 0.9564 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=5): time 1.192e-06/0.3164, allocations: 0 / 0.9564 GB, free: 2.375 MB / 0.7325 GB Notification: Performance of matching and sorting (n=7): time 0.0007075/0.3171, allocations: 310.5 kB / 0.9567 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.45e-05/0.3172, allocations: 107.1 kB / 0.9568 GB, free: 1.891 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001207/0.3173, allocations: 113.7 kB / 0.9569 GB, free: 1.77 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 2.166e-05/0.3173, allocations: 25.7 kB / 0.957 GB, free: 1.738 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 6.166e-05/0.3174, allocations: 88.05 kB / 0.9571 GB, free: 1.648 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 2.618e-05/0.3174, allocations: 23.64 kB / 0.9571 GB, free: 1.625 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.662e-05/0.3175, allocations: 25.72 kB / 0.9571 GB, free: 1.594 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0002/0.3177, allocations: 326.8 kB / 0.9574 GB, free: 1.266 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.581e-05/0.3177, allocations: 8 kB / 0.9574 GB, free: 1.258 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.328e-05/0.3178, allocations: 57.14 kB / 0.9575 GB, free: 1.184 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001139/0.3179, allocations: 69.09 kB / 0.9575 GB, free: 1.098 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.3179, allocations: 3.984 kB / 0.9575 GB, free: 1.094 MB / 0.7325 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001423/0.3181, allocations: 89.47 kB / 0.9576 GB, free: 1 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.248e-05/0.3181, allocations: 8 kB / 0.9576 GB, free: 0.9922 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.427e-06/0.3181, allocations: 3.984 kB / 0.9576 GB, free: 0.9883 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.565e-05/0.3182, allocations: 4 kB / 0.9576 GB, free: 0.9844 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.641e-05/0.3183, allocations: 23.94 kB / 0.9577 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.357e-06/0.3183, allocations: 0 / 0.9577 GB, free: 0.9609 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.896e-05/0.3183, allocations: 4.125 kB / 0.9577 GB, free: 0.957 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/0.3183, allocations: 8 kB / 0.9577 GB, free: 0.9492 MB / 0.7325 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 0.0001451/0.3185, allocations: 125.7 kB / 0.9578 GB, free: 0.8164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.71e-05/0.3186, allocations: 4 kB / 0.9578 GB, free: 0.8125 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.143e-05/0.3186, allocations: 11.5 kB / 0.9578 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.214e-06/0.3186, allocations: 0 / 0.9578 GB, free: 0.8008 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.243e-06/0.3186, allocations: 4 kB / 0.9578 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.879e-06/0.3186, allocations: 0 / 0.9578 GB, free: 0.7969 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003819/0.319, allocations: 181.5 kB / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.319, allocations: 0 / 0.958 GB, free: 0.5703 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.831e-05/0.3191, allocations: 28.05 kB / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.873e-06/0.3191, allocations: 0 / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.102e-05/0.3192, allocations: 0 / 0.958 GB, free: 0.543 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.557e-06/0.3192, allocations: 7.938 kB / 0.958 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.3192, allocations: 0 / 0.958 GB, free: 0.5352 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003482/0.3195, allocations: 334 kB / 0.9583 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.747e-05/0.3196, allocations: 85.02 kB / 0.9584 GB, free: 92 kB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.977e-05/0.3197, allocations: 4 kB / 0.9584 GB, free: 88 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001683/0.3198, allocations: 4.031 kB / 0.9584 GB, free: 84 kB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.65e-05/0.3199, allocations: 8 kB / 0.9584 GB, free: 76 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.338e-06/0.3199, allocations: 7.938 kB / 0.9584 GB, free: 68 kB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.744e-05/0.3199, allocations: 75.66 kB / 0.9585 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3199, allocations: 4 kB / 0.9585 GB, free: 15.99 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0003144/0.3203, allocations: 12 kB / 0.9585 GB, free: 15.98 MB / 0.7481 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.0001703/0.3204, allocations: 111.4 kB / 0.9586 GB, free: 15.86 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000132/0.3206, allocations: 47.84 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3206, allocations: 4 kB / 0.9587 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.676e-05/0.3206, allocations: 19.94 kB / 0.9587 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004085/0.321, allocations: 11.98 kB / 0.9587 GB, free: 15.78 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006799/0.3217, allocations: 340.4 kB / 0.959 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.322, allocations: 0.6807 MB / 0.9597 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 4.795e-05/0.3221, allocations: 8 kB / 0.9597 GB, free: 14.7 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.84e-05/0.3221, allocations: 11.44 kB / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of SimCode: time 4.2e-07/0.3221, allocations: 0 / 0.9597 GB, free: 14.69 MB / 0.7481 GB Notification: Performance of Templates: time 0.003314/0.3255, allocations: 0.6437 MB / 0.9604 GB, free: 14.08 MB / 0.7481 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 -s cvode -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