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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.001797/0.001797, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002117/0.002117, allocations: 198.4 kB / 16.14 MB, free: 6.648 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.503/1.503, allocations: 222.9 MB / 239.8 MB, free: 4.605 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.952/2.952, allocations: 472.6 MB / 0.7447 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 62.98 kB / 0.9114 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3861/0.3874, allocations: 159.9 MB / 1.068 GB, free: 10.9 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002486/0.3899, allocations: 1.327 MB / 1.069 GB, free: 9.559 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1792/0.5691, allocations: 135.7 MB / 1.201 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.145e-05/0.5692, allocations: 0 / 1.201 GB, free: 1.359 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 3.405e-05/0.5693, allocations: 3.938 kB / 1.201 GB, free: 1.355 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.419e-05/0.5694, allocations: 7.984 kB / 1.201 GB, free: 1.348 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001198/0.5706, allocations: 370.8 kB / 1.202 GB, free: 0.9844 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 7.302e-05/0.5707, allocations: 43.83 kB / 1.202 GB, free: 0.9414 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.041e-05/0.5707, allocations: 4 kB / 1.202 GB, free: 0.9375 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.793e-05/0.5708, allocations: 23.92 kB / 1.202 GB, free: 0.9141 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 7.439e-05/0.5708, allocations: 15.97 kB / 1.202 GB, free: 0.8984 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.345e-05/0.5709, allocations: 4 kB / 1.202 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001406/0.5723, allocations: 0.8153 MB / 1.203 GB, free: 80 kB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.397e-05/0.5723, allocations: 11.92 kB / 1.203 GB, free: 68 kB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.5724, allocations: 23.92 kB / 1.203 GB, free: 44 kB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.000581/0.5729, allocations: 439.5 kB / 1.203 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.359e-06/0.573, allocations: 0 / 1.203 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of FrontEnd: time 8.72e-07/0.573, allocations: 0 / 1.203 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.832e-06/0.573, allocations: 0 / 1.203 GB, free: 15.61 MB / 0.9669 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.0005277/0.5735, allocations: 371.5 kB / 1.203 GB, free: 15.2 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.285e-05/0.5736, allocations: 12.02 kB / 1.203 GB, free: 15.19 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001923/0.5738, allocations: 12.84 kB / 1.203 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001051/0.5739, allocations: 168.3 kB / 1.204 GB, free: 14.98 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.5739, allocations: 8.375 kB / 1.204 GB, free: 14.97 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.064e-05/0.5739, allocations: 12.12 kB / 1.204 GB, free: 14.96 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001605/0.5741, allocations: 53.67 kB / 1.204 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.5741, allocations: 0 / 1.204 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5741, allocations: 0 / 1.204 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.5741, allocations: 0 / 1.204 GB, free: 14.9 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.648e-05/0.5742, allocations: 23.97 kB / 1.204 GB, free: 14.88 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001849/0.5744, allocations: 161.7 kB / 1.204 GB, free: 14.67 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.5745, allocations: 58.5 kB / 1.204 GB, free: 14.6 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.212e-05/0.5746, allocations: 20.78 kB / 1.204 GB, free: 14.58 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01053/0.5851, allocations: 3.166 MB / 1.207 GB, free: 11.32 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.572e-05/0.5852, allocations: 30.56 kB / 1.207 GB, free: 11.28 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 1.834e-06/0.5852, allocations: 4 kB / 1.207 GB, free: 11.27 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.04054/0.6257, allocations: 14.87 MB / 1.222 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.6258, allocations: 51.41 kB / 1.222 GB, free: 12.19 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.58e-05/0.6259, allocations: 97.86 kB / 1.222 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.942e-05/0.6259, allocations: 25.7 kB / 1.222 GB, free: 12.05 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.258e-05/0.626, allocations: 84.08 kB / 1.222 GB, free: 11.97 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.898e-05/0.626, allocations: 47.48 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.252e-05/0.6261, allocations: 37.7 kB / 1.222 GB, free: 11.88 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001222/0.6262, allocations: 318.8 kB / 1.222 GB, free: 11.56 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.39e-05/0.6263, allocations: 19.98 kB / 1.222 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.612e-05/0.6263, allocations: 31.48 kB / 1.222 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001203/0.6265, allocations: 52.86 kB / 1.222 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.31e-07/0.6265, allocations: 0 / 1.222 GB, free: 11.46 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002276/0.6267, allocations: 105.7 kB / 1.222 GB, free: 11.35 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.921e-05/0.6267, allocations: 5.875 kB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.651e-06/0.6268, allocations: 7.938 kB / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.6268, allocations: 0 / 1.222 GB, free: 11.34 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001217/0.6269, allocations: 27.92 kB / 1.222 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.753e-06/0.6269, allocations: 0 / 1.222 GB, free: 11.31 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.991e-05/0.6269, allocations: 8 kB / 1.222 GB, free: 11.3 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/0.627, allocations: 0 / 1.222 GB, free: 11.3 MB / 0.9825 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.496e-05/0.6271, allocations: 117.8 kB / 1.223 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.327e-05/0.6271, allocations: 7.906 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002813/0.6274, allocations: 125.5 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.6274, allocations: 3.938 kB / 1.223 GB, free: 11.04 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.332e-06/0.6274, allocations: 3.984 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.159e-06/0.6274, allocations: 3.984 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001581/0.6276, allocations: 181.6 kB / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.6276, allocations: 0 / 1.223 GB, free: 10.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000123/0.6277, allocations: 24 kB / 1.223 GB, free: 10.78 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.6277, allocations: 3.984 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.519e-05/0.6278, allocations: 8 kB / 1.223 GB, free: 10.77 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.393e-06/0.6278, allocations: 3.938 kB / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.6278, allocations: 0 / 1.223 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003148/0.6281, allocations: 161.1 kB / 1.223 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 6.913e-05/0.6282, allocations: 89.09 kB / 1.223 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.864e-05/0.6282, allocations: 4 kB / 1.223 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001456/0.6283, allocations: 16 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.533e-05/0.6284, allocations: 7.984 kB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.164e-05/0.6284, allocations: 4 kB / 1.223 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.311e-05/0.6284, allocations: 87.27 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6285, allocations: 0 / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001795/0.6303, allocations: 0.5585 MB / 1.224 GB, free: 9.805 MB / 0.9825 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.003009/0.6333, allocations: 355 kB / 1.224 GB, free: 9.449 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000189/0.6335, allocations: 71.91 kB / 1.224 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/0.6335, allocations: 0 / 1.224 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.509e-05/0.6336, allocations: 39.92 kB / 1.224 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001868/0.6337, allocations: 14.61 kB / 1.224 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006076/0.6344, allocations: 355.7 kB / 1.225 GB, free: 8.953 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.6346, allocations: 0.6848 MB / 1.225 GB, free: 8.242 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.481e-05/0.6347, allocations: 24.53 kB / 1.225 GB, free: 8.219 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.882e-05/0.6348, allocations: 19.44 kB / 1.225 GB, free: 8.199 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.6348, allocations: 4 kB / 1.225 GB, free: 8.195 MB / 0.9825 GB Notification: Performance of Templates: time 0.5944/1.229, allocations: 24.2 MB / 1.249 GB, free: 181.7 MB / 0.9981 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