Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.0009086/0.0009086, allocations: 90.52 kB / 15.36 MB, free: 0.7383 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.007837/0.007838, allocations: 171.1 kB / 16.26 MB, free: 6.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.539/1.539, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.695/2.695, allocations: 443.3 MB / 0.7175 GB, free: 1.402 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003645/0.0003645, allocations: 8.812 kB / 0.8795 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3871/0.3875, allocations: 155.2 MB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001748/0.3893, allocations: 0.9944 MB / 1.032 GB, free: 3.289 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.1774/0.5667, allocations: 134.2 MB / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.506e-05/0.5668, allocations: 0 / 1.163 GB, free: 12.55 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 2.155e-05/0.5669, allocations: 3.984 kB / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 6.981e-05/0.5669, allocations: 3.938 kB / 1.163 GB, free: 12.54 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001385/0.5683, allocations: 363 kB / 1.163 GB, free: 12.18 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 8.939e-05/0.5684, allocations: 39.91 kB / 1.164 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.37e-05/0.5685, allocations: 7.938 kB / 1.164 GB, free: 12.14 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 6.086e-05/0.5686, allocations: 27.91 kB / 1.164 GB, free: 12.11 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 9.043e-05/0.5687, allocations: 15.92 kB / 1.164 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.525e-05/0.5687, allocations: 4 kB / 1.164 GB, free: 12.09 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001925/0.5706, allocations: 0.8192 MB / 1.164 GB, free: 11.27 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 2.288e-05/0.5706, allocations: 11.98 kB / 1.164 GB, free: 11.26 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 5.864e-05/0.5707, allocations: 41.62 kB / 1.164 GB, free: 11.21 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.000916/0.5716, allocations: 439.1 kB / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 5.731e-06/0.5717, allocations: 0 / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.673e-06/0.5717, allocations: 0 / 1.165 GB, free: 10.78 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.41e-06/0.5717, allocations: 0 / 1.165 GB, free: 10.78 MB / 0.92 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.0007187/0.5724, allocations: 363.5 kB / 1.165 GB, free: 10.38 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 5.456e-05/0.5725, allocations: 11.97 kB / 1.165 GB, free: 10.37 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002635/0.5727, allocations: 16.91 kB / 1.165 GB, free: 10.35 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001369/0.5729, allocations: 164.3 kB / 1.165 GB, free: 10.15 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.151e-05/0.5729, allocations: 8.375 kB / 1.165 GB, free: 10.14 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.476e-05/0.573, allocations: 12.03 kB / 1.165 GB, free: 10.13 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002005/0.5732, allocations: 57.61 kB / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.5732, allocations: 0 / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.632e-05/0.5732, allocations: 0 / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.362e-06/0.5732, allocations: 0 / 1.165 GB, free: 10.07 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.751e-05/0.5733, allocations: 23.98 kB / 1.165 GB, free: 10.05 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002748/0.5736, allocations: 165.7 kB / 1.166 GB, free: 9.836 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001278/0.5737, allocations: 46.56 kB / 1.166 GB, free: 9.781 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.818e-05/0.5738, allocations: 24.73 kB / 1.166 GB, free: 9.754 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01146/0.5853, allocations: 3.202 MB / 1.169 GB, free: 6.457 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.126e-05/0.5854, allocations: 34.8 kB / 1.169 GB, free: 6.414 MB / 0.92 GB Notification: Performance of pre-optimization done (n=7): time 2.234e-06/0.5854, allocations: 0 / 1.169 GB, free: 6.414 MB / 0.92 GB Notification: Performance of matching and sorting (n=11): time 0.04052/0.6259, allocations: 14.26 MB / 1.183 GB, free: 8 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.49e-05/0.626, allocations: 51.41 kB / 1.183 GB, free: 7.938 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.746e-05/0.6261, allocations: 93.86 kB / 1.183 GB, free: 7.836 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.6261, allocations: 25.7 kB / 1.183 GB, free: 7.805 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 3.637e-05/0.6261, allocations: 84.14 kB / 1.183 GB, free: 7.719 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 4.635e-05/0.6262, allocations: 35.45 kB / 1.183 GB, free: 7.684 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.6262, allocations: 21.7 kB / 1.183 GB, free: 7.656 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001354/0.6264, allocations: 322.9 kB / 1.183 GB, free: 7.332 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.28e-05/0.6264, allocations: 23.98 kB / 1.183 GB, free: 7.309 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.504e-05/0.6265, allocations: 23.98 kB / 1.183 GB, free: 7.285 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000127/0.6266, allocations: 63.92 kB / 1.183 GB, free: 7.223 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.01e-07/0.6266, allocations: 3.938 kB / 1.183 GB, free: 7.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002197/0.6269, allocations: 109.6 kB / 1.184 GB, free: 7.105 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.6269, allocations: 4 kB / 1.184 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.831e-06/0.6269, allocations: 0 / 1.184 GB, free: 7.102 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/0.6269, allocations: 4 kB / 1.184 GB, free: 7.098 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.627, allocations: 23.92 kB / 1.184 GB, free: 7.074 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.156e-06/0.6271, allocations: 8 kB / 1.184 GB, free: 7.066 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.6271, allocations: 4 kB / 1.184 GB, free: 7.062 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.161e-05/0.6271, allocations: 4 kB / 1.184 GB, free: 7.059 MB / 0.9356 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.587e-05/0.6272, allocations: 121.7 kB / 1.184 GB, free: 6.93 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.782e-05/0.6273, allocations: 4 kB / 1.184 GB, free: 6.926 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.6275, allocations: 133.4 kB / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.695e-06/0.6275, allocations: 0 / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.6276, allocations: 0 / 1.184 GB, free: 6.793 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.19e-06/0.6276, allocations: 3.984 kB / 1.184 GB, free: 6.789 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001482/0.6277, allocations: 181.6 kB / 1.184 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.6277, allocations: 4 kB / 1.184 GB, free: 6.559 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000113/0.6279, allocations: 16 kB / 1.184 GB, free: 6.543 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.06e-06/0.6279, allocations: 7.984 kB / 1.184 GB, free: 6.535 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.054e-05/0.6279, allocations: 4 kB / 1.184 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.6279, allocations: 0 / 1.184 GB, free: 6.531 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.6279, allocations: 4 kB / 1.184 GB, free: 6.527 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002911/0.6282, allocations: 149 kB / 1.184 GB, free: 6.363 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 6.726e-05/0.6283, allocations: 96.98 kB / 1.184 GB, free: 6.25 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.6283, allocations: 7.938 kB / 1.184 GB, free: 6.242 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001436/0.6284, allocations: 12 kB / 1.184 GB, free: 6.23 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.193e-05/0.6285, allocations: 11.98 kB / 1.184 GB, free: 6.219 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.087e-05/0.6285, allocations: 4 kB / 1.184 GB, free: 6.215 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.609e-05/0.6285, allocations: 83.27 kB / 1.184 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.6285, allocations: 0 / 1.184 GB, free: 6.133 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.001943/0.6305, allocations: 0.5663 MB / 1.185 GB, free: 5.566 MB / 0.9356 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.00359/0.6341, allocations: 347.2 kB / 1.185 GB, free: 5.215 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001971/0.6343, allocations: 67.86 kB / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.6343, allocations: 0 / 1.185 GB, free: 5.148 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.972e-05/0.6344, allocations: 35.98 kB / 1.185 GB, free: 5.113 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.6346, allocations: 13.66 kB / 1.185 GB, free: 5.102 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006321/0.6352, allocations: 406.4 kB / 1.186 GB, free: 4.68 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002505/0.6355, allocations: 0.6887 MB / 1.187 GB, free: 3.965 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 9.711e-05/0.6356, allocations: 32.47 kB / 1.187 GB, free: 3.934 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.937e-05/0.6356, allocations: 15.44 kB / 1.187 GB, free: 3.918 MB / 0.9356 GB Notification: Performance of SimCode: time 2.7e-07/0.6356, allocations: 4 kB / 1.187 GB, free: 3.914 MB / 0.9356 GB Notification: Performance of Templates: time 0.04529/0.6809, allocations: 24.21 MB / 1.21 GB, free: 11.68 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.makefile (rm -f Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; mkfifo Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe ; head -c 1048576 < Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe >> ../files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.sim & ./Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Media_Examples_SteamDerivativeCheck.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Media.Examples.SteamDerivativeCheck.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches