Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001409/0.001409, allocations: 108 kB / 15.6 MB, free: 132 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.001618/0.001618, allocations: 194.1 kB / 16.53 MB, free: 6.391 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.388/1.388, allocations: 222.9 MB / 240.2 MB, free: 4.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.734/2.734, allocations: 437 MB / 0.7104 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001447/0.001447, allocations: 59.91 kB / 0.8692 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6922/0.6937, allocations: 151.6 MB / 1.017 GB, free: 2.68 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck): time 0.002614/0.6964, allocations: 1.254 MB / 1.019 GB, free: 1.414 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.00309/0.6995, allocations: 2.495 MB / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.624e-05/0.6995, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.867e-05/0.6995, allocations: 0 / 1.021 GB, free: 14.91 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.506e-05/0.6996, allocations: 11.92 kB / 1.021 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005692/0.7002, allocations: 131.4 kB / 1.021 GB, free: 14.77 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.219e-05/0.7003, allocations: 35.84 kB / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.743e-05/0.7003, allocations: 0 / 1.021 GB, free: 14.73 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.7004, allocations: 23.92 kB / 1.021 GB, free: 14.71 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 5.776e-05/0.7004, allocations: 15.92 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 3.154e-05/0.7005, allocations: 4 kB / 1.021 GB, free: 14.69 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003151/0.7008, allocations: 115.8 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.612e-05/0.7008, allocations: 7.984 kB / 1.021 GB, free: 14.57 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.646e-05/0.7009, allocations: 19.92 kB / 1.021 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001912/0.7011, allocations: 77.95 kB / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.007e-06/0.7011, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of FrontEnd: time 3.056e-06/0.7011, allocations: 0 / 1.021 GB, free: 14.47 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.7011, allocations: 3.938 kB / 1.021 GB, free: 14.47 MB / 0.7794 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.0004345/0.7015, allocations: 359.4 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.864e-05/0.7016, allocations: 8.031 kB / 1.022 GB, free: 14.06 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002073/0.7018, allocations: 12.94 kB / 1.022 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001212/0.7019, allocations: 172.4 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.421e-05/0.702, allocations: 4.375 kB / 1.022 GB, free: 13.84 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.478e-05/0.702, allocations: 8.281 kB / 1.022 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001371/0.7021, allocations: 72.38 kB / 1.022 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.039e-05/0.7021, allocations: 3.938 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.31e-05/0.7022, allocations: 4 kB / 1.022 GB, free: 13.74 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7022, allocations: 4 kB / 1.022 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.135e-05/0.7022, allocations: 12 kB / 1.022 GB, free: 13.72 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000588/0.7028, allocations: 470.8 kB / 1.022 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.703, allocations: 75.66 kB / 1.023 GB, free: 13.1 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.996e-05/0.703, allocations: 22.64 kB / 1.023 GB, free: 13.07 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 9.808e-06/0.703, allocations: 3.938 kB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.72e-05/0.703, allocations: 42.64 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=5): time 1.353e-06/0.7031, allocations: 4 kB / 1.023 GB, free: 13.01 MB / 0.7794 GB Notification: Performance of matching and sorting (n=7): time 0.000601/0.7037, allocations: 294.1 kB / 1.023 GB, free: 12.67 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.423e-05/0.7037, allocations: 110.8 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.569e-05/0.7038, allocations: 101.8 kB / 1.023 GB, free: 12.43 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.696e-05/0.7038, allocations: 29.7 kB / 1.023 GB, free: 12.39 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.544e-05/0.7039, allocations: 84.3 kB / 1.023 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.229e-05/0.7039, allocations: 31.64 kB / 1.023 GB, free: 12.27 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.704, allocations: 25.72 kB / 1.023 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001223/0.7041, allocations: 318.8 kB / 1.024 GB, free: 11.92 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.87e-05/0.7041, allocations: 12 kB / 1.024 GB, free: 11.91 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.608e-05/0.7042, allocations: 49.2 kB / 1.024 GB, free: 11.84 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.288e-05/0.7043, allocations: 85.59 kB / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.52e-07/0.7043, allocations: 0 / 1.024 GB, free: 11.74 MB / 0.7794 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001294/0.7044, allocations: 97.44 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.167e-05/0.7044, allocations: 4 kB / 1.024 GB, free: 11.64 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.062e-06/0.7044, allocations: 8.125 kB / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.274e-05/0.7045, allocations: 0 / 1.024 GB, free: 11.63 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.731e-05/0.7046, allocations: 19.94 kB / 1.024 GB, free: 11.61 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.358e-06/0.7046, allocations: 7.984 kB / 1.024 GB, free: 11.6 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.955e-05/0.7046, allocations: 7.984 kB / 1.024 GB, free: 11.59 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.521e-06/0.7046, allocations: 4 kB / 1.024 GB, free: 11.59 MB / 0.7794 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.335e-05/0.7047, allocations: 121.7 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.862e-05/0.7048, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.882e-05/0.7048, allocations: 11.56 kB / 1.024 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.986e-06/0.7048, allocations: 4 kB / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.847e-06/0.7048, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.7048, allocations: 0 / 1.024 GB, free: 11.44 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003357/0.7052, allocations: 181.5 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.302e-06/0.7052, allocations: 4 kB / 1.024 GB, free: 11.21 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.585e-05/0.7053, allocations: 19.98 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.833e-06/0.7053, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.829e-06/0.7053, allocations: 4 kB / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.7053, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.7053, allocations: 0 / 1.024 GB, free: 11.19 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002295/0.7056, allocations: 333.9 kB / 1.024 GB, free: 10.84 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.309e-05/0.7056, allocations: 88.95 kB / 1.025 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.768e-05/0.7057, allocations: 8.031 kB / 1.025 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001689/0.7058, allocations: 7.938 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.877e-05/0.7059, allocations: 4 kB / 1.025 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.184e-06/0.7059, allocations: 7.938 kB / 1.025 GB, free: 10.71 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.938e-05/0.7059, allocations: 87.27 kB / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7059, allocations: 0 / 1.025 GB, free: 10.62 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003091/0.7062, allocations: 12 kB / 1.025 GB, free: 10.61 MB / 0.7794 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.0001603/0.7064, allocations: 103.2 kB / 1.025 GB, free: 10.5 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.7065, allocations: 52.05 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.7065, allocations: 4.062 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.862e-05/0.7066, allocations: 23.92 kB / 1.025 GB, free: 10.43 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004494/0.707, allocations: 9.953 kB / 1.025 GB, free: 10.42 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005923/0.7076, allocations: 336.3 kB / 1.025 GB, free: 10.06 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002888/0.7079, allocations: 0.6885 MB / 1.026 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 5.286e-05/0.708, allocations: 3.984 kB / 1.026 GB, free: 9.34 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.482e-05/0.708, allocations: 11.44 kB / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.708, allocations: 0 / 1.026 GB, free: 9.328 MB / 0.7794 GB Notification: Performance of Templates: time 0.002889/0.7109, allocations: 0.6413 MB / 1.026 GB, free: 8.727 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.makefile (rm -f Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; mkfifo Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe ; head -c 1048576 < Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe >> ../files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.sim & ./Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Media_Specialized_Water_Examples_TemperatureDependentDensityDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Media.Specialized.Water.Examples.TemperatureDependentDensityDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches