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.005668/0.005668, allocations: 101.5 kB / 15.73 MB, free: 6.031 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.0011/0.0011, allocations: 188.6 kB / 16.67 MB, free: 5.969 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.401/1.401, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.496/2.496, allocations: 390.2 MB / 0.6648 GB, free: 212 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001425/0.001425, allocations: 63.19 kB / 0.9508 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.32/0.3215, allocations: 140.4 MB / 1.088 GB, free: 1.547 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002772/0.3243, allocations: 1.278 MB / 1.089 GB, free: 268 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.003451/0.3278, allocations: 2.485 MB / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.272e-05/0.3278, allocations: 0 / 1.092 GB, free: 13.77 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.925e-05/0.3279, allocations: 7.938 kB / 1.092 GB, free: 13.76 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.132e-05/0.328, allocations: 3.984 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006432/0.3286, allocations: 131.3 kB / 1.092 GB, free: 13.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.424e-05/0.3287, allocations: 39.83 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.483e-05/0.3287, allocations: 11.98 kB / 1.092 GB, free: 13.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.925e-05/0.3288, allocations: 15.98 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.154e-05/0.3289, allocations: 19.92 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.258e-05/0.3289, allocations: 0 / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003116/0.3292, allocations: 119.7 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.388e-05/0.3292, allocations: 3.984 kB / 1.092 GB, free: 13.42 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.659e-05/0.3293, allocations: 19.92 kB / 1.092 GB, free: 13.4 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0002365/0.3295, allocations: 83.72 kB / 1.092 GB, free: 13.32 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.3296, allocations: 8 kB / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.645e-06/0.3296, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.1e-05/0.3296, allocations: 0 / 1.092 GB, free: 13.31 MB / 0.8575 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.0004999/0.3301, allocations: 347.5 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.422e-05/0.3301, allocations: 12.03 kB / 1.092 GB, free: 12.91 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002378/0.3304, allocations: 12.92 kB / 1.092 GB, free: 12.9 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001362/0.3305, allocations: 168.3 kB / 1.093 GB, free: 12.7 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.551e-05/0.3305, allocations: 4.375 kB / 1.093 GB, free: 12.69 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.752e-05/0.3306, allocations: 8.375 kB / 1.093 GB, free: 12.68 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001623/0.3307, allocations: 80.31 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.3308, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.577e-05/0.3308, allocations: 0 / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.37e-06/0.3308, allocations: 3.938 kB / 1.093 GB, free: 12.59 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.23e-05/0.3309, allocations: 15.94 kB / 1.093 GB, free: 12.57 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006518/0.3315, allocations: 466.9 kB / 1.093 GB, free: 12.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001315/0.3317, allocations: 67.66 kB / 1.093 GB, free: 11.96 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.003e-05/0.3317, allocations: 22.7 kB / 1.093 GB, free: 11.93 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.126e-05/0.3317, allocations: 4 kB / 1.093 GB, free: 11.92 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3318, allocations: 42.58 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=5): time 1.292e-06/0.3318, allocations: 0 / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of matching and sorting (n=7): time 0.000651/0.3324, allocations: 298.3 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.625e-05/0.3325, allocations: 114.8 kB / 1.094 GB, free: 11.39 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.593e-05/0.3326, allocations: 97.84 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.744e-05/0.3326, allocations: 29.7 kB / 1.094 GB, free: 11.25 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.435e-05/0.3327, allocations: 84.05 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.127e-05/0.3327, allocations: 31.55 kB / 1.094 GB, free: 11.13 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.067e-05/0.3327, allocations: 25.72 kB / 1.094 GB, free: 11.1 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.3328, allocations: 322.8 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.915e-05/0.3329, allocations: 16 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.922e-05/0.3329, allocations: 53.08 kB / 1.094 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.088e-05/0.333, allocations: 77.59 kB / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.292e-06/0.333, allocations: 64 / 1.094 GB, free: 10.6 MB / 0.8575 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001411/0.3332, allocations: 97.53 kB / 1.094 GB, free: 10.5 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.689e-05/0.3332, allocations: 8 kB / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/0.3332, allocations: 0 / 1.094 GB, free: 10.49 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.589e-05/0.3332, allocations: 4 kB / 1.094 GB, free: 10.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.532e-05/0.3333, allocations: 16 kB / 1.094 GB, free: 10.47 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/0.3333, allocations: 3.938 kB / 1.094 GB, free: 10.46 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.267e-05/0.3334, allocations: 16.11 kB / 1.094 GB, free: 10.45 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.504e-06/0.3334, allocations: 4 kB / 1.094 GB, free: 10.45 MB / 0.8575 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 8.278e-05/0.3335, allocations: 117.8 kB / 1.095 GB, free: 10.32 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.078e-05/0.3336, allocations: 15.78 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.073e-05/0.3336, allocations: 7.562 kB / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.3336, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.781e-06/0.3336, allocations: 0 / 1.095 GB, free: 10.3 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.3336, allocations: 4 kB / 1.095 GB, free: 10.29 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003281/0.3339, allocations: 177.6 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.803e-06/0.334, allocations: 4 kB / 1.095 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001198/0.3341, allocations: 23.98 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.3341, allocations: 3.938 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.949e-06/0.3341, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.765e-06/0.3341, allocations: 0 / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.3341, allocations: 4 kB / 1.095 GB, free: 10.04 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002606/0.3344, allocations: 322 kB / 1.095 GB, free: 9.703 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 5.566e-05/0.3345, allocations: 85.02 kB / 1.095 GB, free: 9.602 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.11e-05/0.3345, allocations: 12.03 kB / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001677/0.3347, allocations: 0 / 1.095 GB, free: 9.59 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.864e-05/0.3347, allocations: 7.938 kB / 1.095 GB, free: 9.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.035e-05/0.3347, allocations: 7.938 kB / 1.095 GB, free: 9.574 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.633e-05/0.3347, allocations: 83.27 kB / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3348, allocations: 0 / 1.095 GB, free: 9.492 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003086/0.3351, allocations: 12 kB / 1.095 GB, free: 9.48 MB / 0.8575 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.0001419/0.3352, allocations: 109.2 kB / 1.095 GB, free: 9.363 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001349/0.3354, allocations: 47.91 kB / 1.095 GB, free: 9.316 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.3354, allocations: 4 kB / 1.095 GB, free: 9.312 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.871e-05/0.3354, allocations: 15.92 kB / 1.095 GB, free: 9.297 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004312/0.3358, allocations: 15.52 kB / 1.095 GB, free: 9.285 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007023/0.3366, allocations: 344.3 kB / 1.096 GB, free: 8.918 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002913/0.3369, allocations: 0.6884 MB / 1.096 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.644e-05/0.3369, allocations: 11.98 kB / 1.096 GB, free: 8.191 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.696e-05/0.3369, allocations: 11.44 kB / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of SimCode: time 3.4e-07/0.3369, allocations: 0 / 1.097 GB, free: 8.18 MB / 0.8575 GB Notification: Performance of Templates: time 0.003282/0.3402, allocations: 0.6603 MB / 1.097 GB, free: 7.555 MB / 0.8575 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