Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|m_flow.y|appDryPt.TDry|appDryPt.hDry|appDryPt.hEvaIn|Q_flow.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008023/0.0008025, allocations: 91.61 kB / 15.06 MB, free: 1.098 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.0009054/0.0009051, allocations: 172.7 kB / 15.95 MB, free: 208 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.526/1.526, allocations: 223.3 MB / 240 MB, free: 5.426 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.023/3.023, allocations: 462.6 MB / 0.736 GB, free: 15.75 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0005133/0.0005133, allocations: 8.094 kB / 0.9021 GB, free: 36.62 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4445/0.445, allocations: 159.6 MB / 1.058 GB, free: 5.332 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.003197/0.4483, allocations: 2.526 MB / 1.061 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.1812/0.6295, allocations: 140.5 MB / 1.198 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005111/0.6301, allocations: 7.938 kB / 1.198 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001547/0.6316, allocations: 0.4979 MB / 1.198 GB, free: 5.367 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.001496/0.6331, allocations: 489.5 kB / 1.199 GB, free: 4.887 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001637/0.6348, allocations: 477.4 kB / 1.199 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001191/0.636, allocations: 1.097 MB / 1.2 GB, free: 3.324 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000281/0.6363, allocations: 182.6 kB / 1.2 GB, free: 3.133 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004262/0.6367, allocations: 438.3 kB / 1.201 GB, free: 2.703 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007686/0.6375, allocations: 0.5604 MB / 1.201 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.53e-05/0.6376, allocations: 60 kB / 1.201 GB, free: 2.082 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.6393, allocations: 0.8266 MB / 1.202 GB, free: 1.254 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.000307/0.6396, allocations: 350.8 kB / 1.203 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002406/0.6399, allocations: 285 kB / 1.203 GB, free: 0.625 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001951/0.6418, allocations: 2.19 MB / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.6418, allocations: 0 / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.723e-06/0.6419, allocations: 0 / 1.205 GB, free: 14.43 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 1.407e-05/0.6419, allocations: 0 / 1.205 GB, free: 14.43 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.003204/0.6451, allocations: 1.902 MB / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.588e-05/0.6451, allocations: 8.031 kB / 1.207 GB, free: 12.46 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01333/0.6585, allocations: 2.195 MB / 1.209 GB, free: 10.26 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002774/0.6613, allocations: 1.376 MB / 1.21 GB, free: 8.836 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.215e-05/0.6613, allocations: 20 kB / 1.21 GB, free: 8.816 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.655e-05/0.6614, allocations: 20 kB / 1.21 GB, free: 8.797 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004385/0.6658, allocations: 1.218 MB / 1.212 GB, free: 7.562 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.6659, allocations: 4 kB / 1.212 GB, free: 7.559 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.434e-05/0.6659, allocations: 11.94 kB / 1.212 GB, free: 7.547 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.846e-06/0.6659, allocations: 4 kB / 1.212 GB, free: 7.543 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007949/0.6739, allocations: 2.064 MB / 1.214 GB, free: 5.477 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00928/0.6832, allocations: 3.665 MB / 1.217 GB, free: 1.648 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.008397/0.6916, allocations: 2.172 MB / 1.219 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.003944/0.6956, allocations: 1.043 MB / 1.22 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006835/0.6963, allocations: 0.5298 MB / 1.221 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004175/0.7005, allocations: 1.164 MB / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 2.785e-06/0.7005, allocations: 0 / 1.222 GB, free: 12.59 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.01365/0.7142, allocations: 3.317 MB / 1.225 GB, free: 9.262 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001134/0.7143, allocations: 114.8 kB / 1.225 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.006389/0.7208, allocations: 2.46 MB / 1.228 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.000221/0.721, allocations: 37.7 kB / 1.228 GB, free: 6.617 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009546/0.722, allocations: 0.586 MB / 1.228 GB, free: 6.027 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001835/0.7222, allocations: 67.09 kB / 1.228 GB, free: 5.961 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001074/0.7223, allocations: 12 kB / 1.228 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001545/0.7224, allocations: 326 kB / 1.229 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004366/0.7268, allocations: 1.159 MB / 1.23 GB, free: 4.461 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004267/0.7311, allocations: 1.21 MB / 1.231 GB, free: 3.246 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.004019/0.7351, allocations: 1.091 MB / 1.232 GB, free: 2.152 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.071e-06/0.7352, allocations: 7.938 kB / 1.232 GB, free: 2.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01082/0.746, allocations: 2.881 MB / 1.235 GB, free: 15.23 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001133/0.7462, allocations: 128.6 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.135e-05/0.7462, allocations: 4 kB / 1.235 GB, free: 15.09 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003432/0.7496, allocations: 0.8068 MB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002714/0.7523, allocations: 495.4 kB / 1.236 GB, free: 13.79 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009523/0.7619, allocations: 7.431 MB / 1.244 GB, free: 5.816 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003386/0.7653, allocations: 471 kB / 1.244 GB, free: 5.355 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002298/0.7656, allocations: 31.97 kB / 1.244 GB, free: 5.324 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.7656, allocations: 4 kB / 1.244 GB, free: 5.32 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.009295/0.7749, allocations: 2.608 MB / 1.247 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.703e-06/0.7749, allocations: 0 / 1.247 GB, free: 2.691 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002066/0.777, allocations: 0.6353 MB / 1.247 GB, free: 2.043 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/0.7797, allocations: 499.3 kB / 1.248 GB, free: 1.555 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8017/1.581, allocations: 6.174 MB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003208/1.585, allocations: 458.3 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001069/1.585, allocations: 32.86 kB / 1.254 GB, free: 183.5 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001001/1.586, allocations: 0.6815 MB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000297/1.586, allocations: 145.4 kB / 1.255 GB, free: 183.3 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008686/1.595, allocations: 2.342 MB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.342e-06/1.595, allocations: 2.688 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/1.595, allocations: 3.844 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.474e-06/1.595, allocations: 1.219 kB / 1.257 GB, free: 183.2 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002043/1.597, allocations: 1.25 MB / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/1.597, allocations: 0 / 1.258 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002439/1.599, allocations: 444.7 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.917e-06/1.599, allocations: 3.688 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.192e-05/1.599, allocations: 17.12 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.898e-06/1.599, allocations: 3.188 kB / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/1.599, allocations: 0 / 1.259 GB, free: 182.9 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008651/1.608, allocations: 2.263 MB / 1.261 GB, free: 182.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007272/1.609, allocations: 422.6 kB / 1.262 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002088/1.609, allocations: 11.12 kB / 1.262 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002446/1.612, allocations: 402.7 kB / 1.262 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/1.612, allocations: 22.8 kB / 1.262 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.03e-05/1.612, allocations: 33.02 kB / 1.262 GB, free: 182.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.002548/1.614, allocations: 1.755 MB / 1.264 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.5e-07/1.614, allocations: 0 / 1.264 GB, free: 182.3 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001689/1.616, allocations: 0.5481 MB / 1.264 GB, free: 182.3 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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.0005308/1.617, allocations: 235 kB / 1.264 GB, free: 182.2 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01761/1.634, allocations: 4.982 MB / 1.269 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.34e-06/1.634, allocations: 0.6562 kB / 1.269 GB, free: 181.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.004965/1.639, allocations: 1.142 MB / 1.27 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/1.641, allocations: 363.5 kB / 1.271 GB, free: 181 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01934/1.66, allocations: 5.002 MB / 1.276 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000959/1.661, allocations: 1.419 MB / 1.277 GB, free: 179.2 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002061/1.664, allocations: 448.2 kB / 1.277 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004427/1.664, allocations: 88.28 kB / 1.278 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of SimCode: time 1.002e-06/1.664, allocations: 0 / 1.278 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of Templates: time 0.0415/1.706, allocations: 27 MB / 1.304 GB, free: 161.3 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches