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.00143/0.00143, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001854/0.001854, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.447/1.447, allocations: 222.9 MB / 239.9 MB, free: 4.535 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.938/2.938, allocations: 472.6 MB / 0.7448 GB, free: 4.895 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00136/0.00136, allocations: 64.06 kB / 0.9115 GB, free: 33.61 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3608/0.3622, allocations: 159.9 MB / 1.068 GB, free: 10.81 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.002408/0.3647, allocations: 1.329 MB / 1.069 GB, free: 9.473 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1498/0.5145, allocations: 135.7 MB / 1.202 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.42e-05/0.5146, allocations: 8 kB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.028e-05/0.5146, allocations: 0 / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 5.951e-05/0.5147, allocations: 7.922 kB / 1.202 GB, free: 1.246 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001231/0.5159, allocations: 406.8 kB / 1.202 GB, free: 0.8477 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001101/0.516, allocations: 35.92 kB / 1.202 GB, free: 0.8125 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.584e-05/0.5161, allocations: 3.984 kB / 1.202 GB, free: 0.8086 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.609e-05/0.5162, allocations: 27.86 kB / 1.202 GB, free: 0.7812 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.715e-05/0.5162, allocations: 19.97 kB / 1.202 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.015e-05/0.5162, allocations: 0 / 1.202 GB, free: 0.7617 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001362/0.5176, allocations: 0.8075 MB / 1.203 GB, free: 15.95 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.972e-05/0.5176, allocations: 15.92 kB / 1.203 GB, free: 15.94 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.915e-05/0.5177, allocations: 19.92 kB / 1.203 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0005274/0.5182, allocations: 443.4 kB / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.5182, allocations: 0 / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.5182, allocations: 0 / 1.203 GB, free: 15.48 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.933e-06/0.5183, allocations: 0 / 1.203 GB, free: 15.48 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.0005216/0.5188, allocations: 375.4 kB / 1.204 GB, free: 15.07 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.5188, allocations: 12.03 kB / 1.204 GB, free: 15.06 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001818/0.519, allocations: 16.83 kB / 1.204 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.5192, allocations: 164.3 kB / 1.204 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.701e-05/0.5192, allocations: 8.312 kB / 1.204 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.405e-05/0.5192, allocations: 8.125 kB / 1.204 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.5194, allocations: 57.66 kB / 1.204 GB, free: 14.77 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.506e-06/0.5194, allocations: 4 kB / 1.204 GB, free: 14.76 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.339e-05/0.5194, allocations: 7.984 kB / 1.204 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.5194, allocations: 0 / 1.204 GB, free: 14.75 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.352e-05/0.5195, allocations: 19.98 kB / 1.204 GB, free: 14.73 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002283/0.5197, allocations: 165.7 kB / 1.204 GB, free: 14.52 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001024/0.5199, allocations: 50.5 kB / 1.204 GB, free: 14.46 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.203e-05/0.5199, allocations: 20.8 kB / 1.204 GB, free: 14.44 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01048/0.5304, allocations: 3.162 MB / 1.207 GB, free: 11.18 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.5305, allocations: 38.55 kB / 1.207 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.5305, allocations: 0 / 1.207 GB, free: 11.14 MB / 0.9669 GB Notification: Performance of matching and sorting (n=11): time 0.0411/0.5716, allocations: 14.86 MB / 1.222 GB, free: 12.12 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.55e-05/0.5716, allocations: 55.39 kB / 1.222 GB, free: 12.06 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.96e-05/0.5717, allocations: 97.86 kB / 1.222 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.079e-05/0.5717, allocations: 29.7 kB / 1.222 GB, free: 11.92 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.415e-05/0.5718, allocations: 80.14 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.945e-05/0.5718, allocations: 47.34 kB / 1.222 GB, free: 11.79 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.777e-05/0.5719, allocations: 25.72 kB / 1.222 GB, free: 11.76 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.572, allocations: 326.8 kB / 1.222 GB, free: 11.43 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.943e-05/0.5721, allocations: 23.92 kB / 1.222 GB, free: 11.41 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.459e-05/0.5721, allocations: 31.62 kB / 1.222 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.5723, allocations: 60.84 kB / 1.222 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.5723, allocations: 0 / 1.222 GB, free: 11.32 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002037/0.5725, allocations: 105.7 kB / 1.223 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.713e-05/0.5725, allocations: 8 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.5725, allocations: 3.938 kB / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.5725, allocations: 0 / 1.223 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.5726, allocations: 23.94 kB / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.191e-06/0.5727, allocations: 0 / 1.223 GB, free: 11.17 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.5727, allocations: 11.92 kB / 1.223 GB, free: 11.16 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.628e-06/0.5727, allocations: 8 kB / 1.223 GB, free: 11.15 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 7.836e-05/0.5728, allocations: 117.8 kB / 1.223 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.5729, allocations: 7.906 kB / 1.223 GB, free: 11.02 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.5731, allocations: 117.5 kB / 1.223 GB, free: 10.9 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.09e-06/0.5731, allocations: 8 kB / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.65e-06/0.5731, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.757e-06/0.5732, allocations: 0 / 1.223 GB, free: 10.89 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.5733, allocations: 177.6 kB / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.5733, allocations: 0 / 1.223 GB, free: 10.67 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001178/0.5734, allocations: 23.98 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.5734, allocations: 0 / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.465e-05/0.5735, allocations: 4 kB / 1.223 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.655e-06/0.5735, allocations: 7.938 kB / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5735, allocations: 0 / 1.223 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002963/0.5738, allocations: 160.9 kB / 1.223 GB, free: 10.46 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.961e-05/0.5739, allocations: 85.14 kB / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.619e-05/0.5739, allocations: 0 / 1.223 GB, free: 10.36 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001449/0.574, allocations: 15.98 kB / 1.223 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.327e-05/0.5741, allocations: 7.984 kB / 1.223 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.242e-05/0.5741, allocations: 8 kB / 1.223 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.362e-05/0.5741, allocations: 79.28 kB / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5742, allocations: 0 / 1.223 GB, free: 10.25 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.001663/0.5758, allocations: 0.5624 MB / 1.224 GB, free: 9.684 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.002803/0.5786, allocations: 375 kB / 1.224 GB, free: 9.309 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001799/0.5788, allocations: 67.92 kB / 1.224 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.5788, allocations: 0 / 1.224 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 6.152e-05/0.5789, allocations: 39.92 kB / 1.224 GB, free: 9.203 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001748/0.5791, allocations: 13.33 kB / 1.224 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005996/0.5797, allocations: 354 kB / 1.225 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000263/0.58, allocations: 0.6807 MB / 1.225 GB, free: 8.109 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 9.693e-05/0.5801, allocations: 32.52 kB / 1.225 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.749e-05/0.5801, allocations: 15.44 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of SimCode: time 3.41e-07/0.5801, allocations: 0 / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of Templates: time 0.615/1.195, allocations: 24.25 MB / 1.249 GB, free: 181.3 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