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.001561/0.001561, 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.001931/0.001931, allocations: 195.5 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.496/1.496, allocations: 222.9 MB / 240.2 MB, free: 4.367 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.383/2.383, allocations: 390.2 MB / 0.6647 GB, free: 252 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001263/0.001263, allocations: 67.88 kB / 0.8125 GB, free: 14.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7786/0.7799, allocations: 140.4 MB / 0.9496 GB, free: 9.207 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002884/0.7829, allocations: 1.258 MB / 0.9508 GB, free: 8.199 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.167/0.9499, allocations: 137.7 MB / 1.085 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.65e-05/0.95, allocations: 0 / 1.085 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.95, allocations: 0 / 1.085 GB, free: 6.297 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.598e-05/0.9502, allocations: 7.922 kB / 1.085 GB, free: 6.289 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.001703/0.9519, allocations: 470.3 kB / 1.086 GB, free: 5.828 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001062/0.952, allocations: 35.86 kB / 1.086 GB, free: 5.793 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.923e-05/0.9521, allocations: 11.92 kB / 1.086 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 5.588e-05/0.9521, allocations: 19.98 kB / 1.086 GB, free: 5.762 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 8.969e-05/0.9522, allocations: 23.91 kB / 1.086 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.505e-05/0.9523, allocations: 0 / 1.086 GB, free: 5.738 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001765/0.954, allocations: 0.8075 MB / 1.087 GB, free: 4.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 2.38e-05/0.9541, allocations: 15.97 kB / 1.087 GB, free: 4.914 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.76e-05/0.9541, allocations: 11.94 kB / 1.087 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0008854/0.955, allocations: 445.1 kB / 1.087 GB, free: 4.469 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 7.645e-06/0.955, allocations: 4 kB / 1.087 GB, free: 4.465 MB / 0.8419 GB Notification: Performance of FrontEnd: time 5.45e-06/0.955, allocations: 4 kB / 1.087 GB, free: 4.461 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.9551, allocations: 3.938 kB / 1.087 GB, free: 4.457 MB / 0.8419 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.0009892/0.9561, allocations: 371.4 kB / 1.087 GB, free: 4.047 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 6.806e-05/0.9561, allocations: 12.03 kB / 1.087 GB, free: 4.035 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002813/0.9564, allocations: 12.92 kB / 1.087 GB, free: 4.023 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001702/0.9566, allocations: 164.4 kB / 1.088 GB, free: 3.824 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.748e-05/0.9566, allocations: 4.375 kB / 1.088 GB, free: 3.82 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.061e-05/0.9567, allocations: 16.03 kB / 1.088 GB, free: 3.805 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000243/0.9569, allocations: 61.66 kB / 1.088 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.168e-05/0.957, allocations: 0 / 1.088 GB, free: 3.738 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.184e-05/0.957, allocations: 4 kB / 1.088 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.957, allocations: 0 / 1.088 GB, free: 3.734 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.417e-05/0.9571, allocations: 19.92 kB / 1.088 GB, free: 3.715 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002448/0.9574, allocations: 165.6 kB / 1.088 GB, free: 3.504 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001342/0.9575, allocations: 54.55 kB / 1.088 GB, free: 3.441 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.958e-05/0.9575, allocations: 24.8 kB / 1.088 GB, free: 3.414 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01209/0.9696, allocations: 3.162 MB / 1.091 GB, free: 160 kB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.177e-05/0.9697, allocations: 30.56 kB / 1.091 GB, free: 120 kB / 0.8419 GB Notification: Performance of pre-optimization done (n=7): time 1.232e-06/0.9697, allocations: 0 / 1.091 GB, free: 120 kB / 0.8419 GB Notification: Performance of matching and sorting (n=11): time 0.04459/1.014, allocations: 14.87 MB / 1.106 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.435e-05/1.014, allocations: 55.41 kB / 1.106 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.698e-05/1.015, allocations: 97.84 kB / 1.106 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.075e-05/1.015, allocations: 25.7 kB / 1.106 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.182e-05/1.015, allocations: 84.12 kB / 1.106 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.711e-05/1.015, allocations: 47.39 kB / 1.106 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.487e-05/1.015, allocations: 25.72 kB / 1.106 GB, free: 0.7305 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001626/1.015, allocations: 326.9 kB / 1.106 GB, free: 412 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/1.015, allocations: 23.98 kB / 1.106 GB, free: 388 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.553e-05/1.015, allocations: 20 kB / 1.106 GB, free: 368 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001303/1.015, allocations: 63.72 kB / 1.106 GB, free: 304 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.32e-07/1.015, allocations: 3.938 kB / 1.106 GB, free: 300 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002297/1.015, allocations: 109.5 kB / 1.106 GB, free: 184 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 2.212e-05/1.015, allocations: 4 kB / 1.106 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.588e-06/1.015, allocations: 3.984 kB / 1.106 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.764e-05/1.016, allocations: 7.984 kB / 1.106 GB, free: 168 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000141/1.016, allocations: 24 kB / 1.106 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/1.016, allocations: 0 / 1.106 GB, free: 144 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.205e-05/1.016, allocations: 8 kB / 1.106 GB, free: 136 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.359e-05/1.016, allocations: 7.984 kB / 1.106 GB, free: 128 kB / 0.8575 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 0.0001228/1.016, allocations: 121.8 kB / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.175e-05/1.016, allocations: 0 / 1.107 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003176/1.016, allocations: 125.5 kB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.027e-06/1.016, allocations: 0 / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/1.016, allocations: 0 / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/1.016, allocations: 4 kB / 1.107 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001923/1.016, allocations: 177.6 kB / 1.107 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/1.016, allocations: 0 / 1.107 GB, free: 15.64 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001238/1.017, allocations: 23.98 kB / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.211e-06/1.017, allocations: 0 / 1.107 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.367e-05/1.017, allocations: 7.938 kB / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.542e-06/1.017, allocations: 4 kB / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/1.017, allocations: 0 / 1.107 GB, free: 15.61 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003398/1.017, allocations: 156.9 kB / 1.107 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.759e-05/1.017, allocations: 93.05 kB / 1.107 GB, free: 15.33 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.438e-05/1.017, allocations: 7.938 kB / 1.107 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001531/1.017, allocations: 15.98 kB / 1.107 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.98e-05/1.017, allocations: 11.98 kB / 1.107 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.118e-05/1.017, allocations: 4 kB / 1.107 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 5.332e-05/1.017, allocations: 79.28 kB / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/1.017, allocations: 0 / 1.107 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.002019/1.019, allocations: 0.5624 MB / 1.108 GB, free: 14.65 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.002781/1.022, allocations: 355.1 kB / 1.108 GB, free: 14.29 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001956/1.022, allocations: 67.92 kB / 1.108 GB, free: 14.23 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/1.022, allocations: 3.938 kB / 1.108 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.231e-05/1.023, allocations: 39.98 kB / 1.108 GB, free: 14.18 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001915/1.023, allocations: 13.34 kB / 1.108 GB, free: 14.17 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006906/1.023, allocations: 342 kB / 1.109 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002491/1.024, allocations: 0.6846 MB / 1.109 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 9.048e-05/1.024, allocations: 24.53 kB / 1.109 GB, free: 13.08 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.015e-05/1.024, allocations: 15.44 kB / 1.109 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/1.024, allocations: 0 / 1.109 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of Templates: time 0.03526/1.059, allocations: 24.26 MB / 1.133 GB, free: 4.785 MB / 0.8887 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/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches