Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.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.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck") translateModel(Buildings.Media.Examples.SteamDerivativeCheck,tolerance=1e-10,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|der.hVapSym.|der.hVapCod.|der.cpSym.|der.cpCod.|der.cvSym.|der.cvCod.",fileNamePrefix="Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001408/0.001408, allocations: 103.3 kB / 15.98 MB, free: 5.895 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.001606/0.001606, allocations: 190.6 kB / 16.91 MB, free: 5.746 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.38/1.38, allocations: 222.9 MB / 240.6 MB, free: 15.38 MB / 206.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.425/2.425, allocations: 390.3 MB / 0.665 GB, free: 0.9023 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001287, allocations: 61.92 kB / 0.8127 GB, free: 33.32 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2682/0.2695, allocations: 140.4 MB / 0.9497 GB, free: 9.262 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002403/0.272, allocations: 1.339 MB / 0.951 GB, free: 7.91 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.6373/0.9093, allocations: 135.7 MB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.619e-05/0.9094, allocations: 0.5 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.384e-05/0.9094, allocations: 2.281 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.693e-05/0.9095, allocations: 1.125 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001918/0.9115, allocations: 415.1 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.9116, allocations: 43.08 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.905e-05/0.9116, allocations: 3.125 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.909e-05/0.9117, allocations: 21.02 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.8e-05/0.9118, allocations: 19.34 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.359e-05/0.9118, allocations: 2.25 kB / 1.084 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002369/0.9142, allocations: 0.8134 MB / 1.085 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.946e-05/0.9142, allocations: 7.062 kB / 1.085 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.834e-05/0.9143, allocations: 22.06 kB / 1.085 GB, free: 6.941 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.000569/0.9148, allocations: 298.2 kB / 1.085 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.9148, allocations: 0.9688 kB / 1.085 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.243e-06/0.9148, allocations: 0 / 1.085 GB, free: 6.934 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.922e-06/0.9149, allocations: 1.375 kB / 1.085 GB, free: 6.934 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.0009594/0.9158, allocations: 374.4 kB / 1.086 GB, free: 22.57 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/0.9159, allocations: 10.06 kB / 1.086 GB, free: 22.57 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001961/0.9161, allocations: 14.39 kB / 1.086 GB, free: 22.57 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.688e-05/0.9162, allocations: 163.3 kB / 1.086 GB, free: 22.38 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.778e-06/0.9162, allocations: 1.625 kB / 1.086 GB, free: 22.38 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.014e-05/0.9162, allocations: 13.81 kB / 1.086 GB, free: 22.37 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.9164, allocations: 56.12 kB / 1.086 GB, free: 22.34 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.905e-06/0.9164, allocations: 0.9375 kB / 1.086 GB, free: 22.34 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.452e-05/0.9164, allocations: 1.891 kB / 1.086 GB, free: 22.34 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.9164, allocations: 2.781 kB / 1.086 GB, free: 22.34 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.148e-05/0.9165, allocations: 25.42 kB / 1.086 GB, free: 22.34 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.9167, allocations: 162.9 kB / 1.086 GB, free: 22.15 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001038/0.9168, allocations: 48.86 kB / 1.086 GB, free: 22.12 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.952e-05/0.9168, allocations: 17.64 kB / 1.086 GB, free: 22.12 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01202/0.9289, allocations: 3.171 MB / 1.089 GB, free: 21.64 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.718e-05/0.9289, allocations: 43.11 kB / 1.089 GB, free: 21.6 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=7): time 1.713e-06/0.9289, allocations: 0 / 1.089 GB, free: 21.6 MB / 0.8731 GB Notification: Performance of matching and sorting (n=11): time 0.0445/0.9735, allocations: 14.87 MB / 1.104 GB, free: 19.89 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.9735, allocations: 52.41 kB / 1.104 GB, free: 19.82 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.223e-05/0.9736, allocations: 97.8 kB / 1.104 GB, free: 19.72 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.031e-05/0.9736, allocations: 31.08 kB / 1.104 GB, free: 19.69 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 2.979e-05/0.9737, allocations: 81.34 kB / 1.104 GB, free: 19.61 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.545e-05/0.9737, allocations: 39.16 kB / 1.104 GB, free: 19.59 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.751e-05/0.9738, allocations: 30.48 kB / 1.104 GB, free: 19.57 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 9.701e-05/0.9739, allocations: 314.2 kB / 1.104 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.461e-05/0.9739, allocations: 25.52 kB / 1.104 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.48e-05/0.974, allocations: 25.19 kB / 1.104 GB, free: 19.26 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001153/0.9741, allocations: 65.92 kB / 1.104 GB, free: 19.25 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.345e-06/0.9741, allocations: 9.031 kB / 1.104 GB, free: 19.24 MB / 0.8731 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002108/0.9743, allocations: 105 kB / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.9743, allocations: 4.938 kB / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.9744, allocations: 0.6562 kB / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.34e-05/0.9744, allocations: 1.438 kB / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001155/0.9745, allocations: 28.78 kB / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.004e-06/0.9745, allocations: 2.109 kB / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.596e-05/0.9745, allocations: 0 / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.186e-05/0.9746, allocations: 8.703 kB / 1.105 GB, free: 19.2 MB / 0.8731 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (14): * Single equations (assignments): 14 * 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.133e-05/0.9746, allocations: 124.4 kB / 1.105 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.553e-05/0.9747, allocations: 4 kB / 1.105 GB, free: 19.08 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002733/0.975, allocations: 124.4 kB / 1.105 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.067e-06/0.975, allocations: 2.562 kB / 1.105 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.029e-06/0.975, allocations: 1.203 kB / 1.105 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.499e-06/0.975, allocations: 4.797 kB / 1.105 GB, free: 19.04 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001462/0.9752, allocations: 180 kB / 1.105 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.996e-06/0.9752, allocations: 5.422 kB / 1.105 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001292/0.9753, allocations: 29.61 kB / 1.105 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.9753, allocations: 0 / 1.105 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.257e-05/0.9753, allocations: 2.766 kB / 1.105 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9753, allocations: 1.453 kB / 1.105 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.72e-07/0.9753, allocations: 0 / 1.105 GB, free: 18.84 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/0.9756, allocations: 165.4 kB / 1.105 GB, free: 18.77 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 7.465e-05/0.9757, allocations: 91.09 kB / 1.105 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.777e-05/0.9758, allocations: 0.7969 kB / 1.105 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000151/0.9759, allocations: 15.75 kB / 1.105 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.74e-05/0.9759, allocations: 6.781 kB / 1.105 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.374e-05/0.976, allocations: 8.453 kB / 1.105 GB, free: 18.67 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 2.951e-05/0.976, allocations: 75.28 kB / 1.105 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.1e-07/0.976, allocations: 5.531 kB / 1.105 GB, free: 18.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.00257/0.9786, allocations: 0.5613 MB / 1.106 GB, free: 18.57 MB / 0.8731 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 3 (hVapSym,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 (11): * Single equations (assignments): 11 * 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.003312/0.9819, allocations: 352.9 kB / 1.106 GB, free: 18.46 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0002038/0.9821, allocations: 72.78 kB / 1.106 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.9821, allocations: 0 / 1.106 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.389e-05/0.9822, allocations: 40.77 kB / 1.106 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001899/0.9824, allocations: 13.16 kB / 1.106 GB, free: 18.45 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005819/0.983, allocations: 387.6 kB / 1.107 GB, free: 18.15 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002269/0.9832, allocations: 0.6954 MB / 1.107 GB, free: 17.45 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.9833, allocations: 16.3 kB / 1.107 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of SimCode: time 2.51e-07/0.9833, allocations: 0 / 1.107 GB, free: 17.44 MB / 0.8731 GB Notification: Performance of Templates: time 0.02956/1.013, allocations: 14.34 MB / 1.121 GB, free: 16.56 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches