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.00122/0.00122, allocations: 86.56 kB / 15.06 MB, free: 1.09 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.001476/0.001477, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.535/1.535, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.108/3.108, allocations: 462.6 MB / 0.736 GB, free: 15.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003516/0.0003516, allocations: 12.88 kB / 0.9021 GB, free: 36.59 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3538/0.3542, allocations: 159.6 MB / 1.058 GB, free: 5.352 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Media.Examples.SteamDerivativeCheck): time 0.001528/0.3558, allocations: 0.9783 MB / 1.059 GB, free: 4.363 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1515/0.5073, allocations: 124.9 MB / 1.181 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.093e-05/0.5075, allocations: 0 / 1.181 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.698e-05/0.5075, allocations: 0 / 1.181 GB, free: 7.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 9.677e-05/0.5076, allocations: 11.92 kB / 1.181 GB, free: 7.113 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001226/0.5089, allocations: 354.8 kB / 1.181 GB, free: 6.766 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 6.873e-05/0.5089, allocations: 27.92 kB / 1.181 GB, free: 6.738 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.55e-05/0.509, allocations: 4 kB / 1.181 GB, free: 6.734 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 4.885e-05/0.509, allocations: 27.91 kB / 1.181 GB, free: 6.707 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 7.968e-05/0.5091, allocations: 19.92 kB / 1.181 GB, free: 6.688 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.678e-05/0.5092, allocations: 4 kB / 1.181 GB, free: 6.684 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001346/0.5105, allocations: 0.7608 MB / 1.182 GB, free: 5.922 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.422e-05/0.5105, allocations: 19.91 kB / 1.182 GB, free: 5.902 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.5106, allocations: 29.7 kB / 1.182 GB, free: 5.867 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0004461/0.511, allocations: 283.6 kB / 1.182 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.5111, allocations: 0 / 1.182 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.843e-06/0.5111, allocations: 0 / 1.182 GB, free: 5.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 6.663e-06/0.5111, allocations: 0 / 1.182 GB, free: 5.59 MB / 0.9356 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.0005365/0.5116, allocations: 363.3 kB / 1.183 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/0.5117, allocations: 8.031 kB / 1.183 GB, free: 5.18 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002208/0.5119, allocations: 8 kB / 1.183 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001239/0.512, allocations: 171.1 kB / 1.183 GB, free: 4.965 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/0.5121, allocations: 7.953 kB / 1.183 GB, free: 4.957 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.097e-05/0.5121, allocations: 3.906 kB / 1.183 GB, free: 4.953 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002104/0.5123, allocations: 65.59 kB / 1.183 GB, free: 4.883 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5123, allocations: 4 kB / 1.183 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.45e-05/0.5124, allocations: 0 / 1.183 GB, free: 4.879 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.376e-06/0.5124, allocations: 3.984 kB / 1.183 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.771e-05/0.5124, allocations: 19.98 kB / 1.183 GB, free: 4.855 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001945/0.5126, allocations: 161.7 kB / 1.183 GB, free: 4.648 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.5128, allocations: 58.5 kB / 1.183 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.5128, allocations: 16.86 kB / 1.183 GB, free: 4.562 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 0.009703/0.5225, allocations: 3.198 MB / 1.186 GB, free: 1.27 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.585e-05/0.5227, allocations: 42.5 kB / 1.186 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=7): time 3.236e-06/0.5227, allocations: 0 / 1.186 GB, free: 1.219 MB / 0.9356 GB Notification: Performance of matching and sorting (n=11): time 0.03381/0.5565, allocations: 14.25 MB / 1.2 GB, free: 2.82 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.686e-05/0.5566, allocations: 51.41 kB / 1.2 GB, free: 2.758 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.173e-05/0.5567, allocations: 97.86 kB / 1.2 GB, free: 2.652 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.995e-05/0.5567, allocations: 29.7 kB / 1.201 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 2.778e-05/0.5567, allocations: 80.14 kB / 1.201 GB, free: 2.535 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.072e-05/0.5568, allocations: 43.38 kB / 1.201 GB, free: 2.492 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.672e-06/0.5568, allocations: 4 kB / 1.201 GB, free: 2.488 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.5569, allocations: 322.8 kB / 1.201 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.064e-05/0.5569, allocations: 20 kB / 1.201 GB, free: 2.145 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.156e-05/0.557, allocations: 23.98 kB / 1.201 GB, free: 2.121 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.396e-05/0.5571, allocations: 30.5 kB / 1.201 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.11e-07/0.5571, allocations: 0 / 1.201 GB, free: 2.094 MB / 0.9512 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002168/0.5573, allocations: 113.5 kB / 1.201 GB, free: 1.977 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.457e-05/0.5573, allocations: 7.938 kB / 1.201 GB, free: 1.969 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.958e-06/0.5574, allocations: 4 kB / 1.201 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.5574, allocations: 0 / 1.201 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001339/0.5575, allocations: 23.98 kB / 1.201 GB, free: 1.941 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5575, allocations: 4 kB / 1.201 GB, free: 1.938 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.766e-05/0.5576, allocations: 4 kB / 1.201 GB, free: 1.934 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.433e-05/0.5576, allocations: 4 kB / 1.201 GB, free: 1.93 MB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001121/0.5577, allocations: 121.7 kB / 1.201 GB, free: 1.801 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.589e-05/0.5578, allocations: 4 kB / 1.201 GB, free: 1.797 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002893/0.558, allocations: 121.5 kB / 1.201 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.404e-06/0.5581, allocations: 0 / 1.201 GB, free: 1.672 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.88e-06/0.5581, allocations: 7.938 kB / 1.201 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.688e-06/0.5581, allocations: 3.984 kB / 1.201 GB, free: 1.66 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001487/0.5582, allocations: 177.6 kB / 1.202 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.5582, allocations: 0 / 1.202 GB, free: 1.438 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001157/0.5584, allocations: 23.94 kB / 1.202 GB, free: 1.414 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.412e-06/0.5584, allocations: 3.984 kB / 1.202 GB, free: 1.41 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.5584, allocations: 11.94 kB / 1.202 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.5584, allocations: 0 / 1.202 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.5584, allocations: 0 / 1.202 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002905/0.5587, allocations: 157.2 kB / 1.202 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 6.445e-05/0.5588, allocations: 89.05 kB / 1.202 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.812e-05/0.5588, allocations: 0 / 1.202 GB, free: 1.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001291/0.5589, allocations: 16 kB / 1.202 GB, free: 1.105 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.041e-05/0.559, allocations: 7.984 kB / 1.202 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.305e-05/0.559, allocations: 8 kB / 1.202 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 3.928e-05/0.559, allocations: 83.27 kB / 1.202 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.003e-06/0.559, allocations: 0 / 1.202 GB, free: 1.008 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002033/0.5611, allocations: 0.5624 MB / 1.203 GB, free: 456 kB / 0.9512 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002593/0.5637, allocations: 355.1 kB / 1.203 GB, free: 92 kB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001888/0.5639, allocations: 55.98 kB / 1.203 GB, free: 36 kB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.5639, allocations: 0 / 1.203 GB, free: 36 kB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.965e-05/0.564, allocations: 35.92 kB / 1.203 GB, free: 0 / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002292/0.5642, allocations: 10.72 kB / 1.203 GB, free: 15.99 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007169/0.5649, allocations: 410.3 kB / 1.203 GB, free: 15.57 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002939/0.5652, allocations: 0.6848 MB / 1.204 GB, free: 14.86 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.0001013/0.5654, allocations: 28.53 kB / 1.204 GB, free: 14.83 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.262e-05/0.5654, allocations: 15.44 kB / 1.204 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.5654, allocations: 4 kB / 1.204 GB, free: 14.81 MB / 0.9669 GB Notification: Performance of Templates: time 0.04633/0.6117, allocations: 25.64 MB / 1.229 GB, free: 5.141 MB / 0.9825 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