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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001138/0.001138, allocations: 98.27 kB / 15.36 MB, free: 0.7344 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.009378/0.009379, allocations: 170.6 kB / 16.27 MB, free: 6.652 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.497/1.497, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.945/2.945, allocations: 462.7 MB / 0.7364 GB, free: 276 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0004362/0.0004365, allocations: 8.406 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4242/0.4246, allocations: 159.6 MB / 1.059 GB, free: 5.453 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.004638/0.4293, allocations: 2.641 MB / 1.061 GB, free: 2.797 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.2086/0.6379, allocations: 150.8 MB / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005968/0.6386, allocations: 0 / 1.208 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.002094/0.6407, allocations: 0.5367 MB / 1.209 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.002443/0.6432, allocations: 0.6145 MB / 1.21 GB, free: 10.3 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002153/0.6454, allocations: 0.5526 MB / 1.21 GB, free: 9.754 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.001913/0.6473, allocations: 1.295 MB / 1.211 GB, free: 8.457 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003956/0.6477, allocations: 182.5 kB / 1.212 GB, free: 8.266 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009091/0.6486, allocations: 426.1 kB / 1.212 GB, free: 7.848 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001339/0.65, allocations: 0.5875 MB / 1.213 GB, free: 7.258 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0003492/0.6503, allocations: 60 kB / 1.213 GB, free: 7.199 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003185/0.6535, allocations: 1.251 MB / 1.214 GB, free: 5.945 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0005932/0.6541, allocations: 346.8 kB / 1.214 GB, free: 5.605 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001304/0.6554, allocations: 0.666 MB / 1.215 GB, free: 4.93 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.004812/0.6603, allocations: 2.726 MB / 1.218 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.6603, allocations: 0 / 1.218 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of FrontEnd: time 2.444e-06/0.6603, allocations: 0 / 1.218 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.936e-05/0.6604, allocations: 0 / 1.218 GB, free: 2.195 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.004947/0.6653, allocations: 1.887 MB / 1.219 GB, free: 252 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 5.236e-05/0.6654, allocations: 12.03 kB / 1.219 GB, free: 240 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0168/0.6822, allocations: 2.191 MB / 1.221 GB, free: 14.04 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003788/0.686, allocations: 1.452 MB / 1.223 GB, free: 12.54 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.173e-05/0.6861, allocations: 16 kB / 1.223 GB, free: 12.52 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001822/0.6863, allocations: 24 kB / 1.223 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005662/0.692, allocations: 1.214 MB / 1.224 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.513e-05/0.692, allocations: 3.984 kB / 1.224 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.068e-05/0.6921, allocations: 11.94 kB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.194e-05/0.6921, allocations: 4 kB / 1.224 GB, free: 11.25 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01026/0.7024, allocations: 2.069 MB / 1.226 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01192/0.7143, allocations: 3.685 MB / 1.23 GB, free: 5.332 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01073/0.7251, allocations: 2.165 MB / 1.232 GB, free: 3.156 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005134/0.7303, allocations: 1.044 MB / 1.233 GB, free: 2.109 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008219/0.7311, allocations: 0.5259 MB / 1.233 GB, free: 1.473 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005316/0.7365, allocations: 1.172 MB / 1.235 GB, free: 288 kB / 0.9825 GB Notification: Performance of pre-optimization done (n=23): time 4.228e-06/0.7365, allocations: 0 / 1.235 GB, free: 288 kB / 0.9825 GB Notification: Performance of matching and sorting (n=23): time 0.01686/0.7534, allocations: 3.313 MB / 1.238 GB, free: 12.95 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.752e-05/0.7535, allocations: 114.8 kB / 1.238 GB, free: 12.82 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005612/0.7592, allocations: 2.48 MB / 1.24 GB, free: 10.33 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.000253/0.7594, allocations: 33.7 kB / 1.24 GB, free: 10.29 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008071/0.7603, allocations: 0.5861 MB / 1.241 GB, free: 9.703 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001858/0.7605, allocations: 67 kB / 1.241 GB, free: 9.637 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002177/0.7607, allocations: 53.69 kB / 1.241 GB, free: 9.578 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.000145/0.7608, allocations: 326 kB / 1.241 GB, free: 9.254 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005505/0.7663, allocations: 1.175 MB / 1.243 GB, free: 8.074 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005496/0.7719, allocations: 1.229 MB / 1.244 GB, free: 6.84 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009916/0.7818, allocations: 2.041 MB / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.544e-06/0.7819, allocations: 0 / 1.246 GB, free: 4.785 MB / 0.9981 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01355/0.7954, allocations: 2.924 MB / 1.249 GB, free: 1.832 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001255/0.7956, allocations: 136.2 kB / 1.249 GB, free: 1.684 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.077e-06/0.7956, allocations: 4 kB / 1.249 GB, free: 1.68 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003907/0.7995, allocations: 0.8109 MB / 1.249 GB, free: 0.8555 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003397/0.8029, allocations: 499.3 kB / 1.25 GB, free: 376 kB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.6255/1.428, allocations: 7.427 MB / 1.257 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004256/1.433, allocations: 463.7 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002261/1.433, allocations: 33.28 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.433, allocations: 6.25 kB / 1.258 GB, free: 185.4 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01108/1.444, allocations: 2.615 MB / 1.26 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/1.444, allocations: 0 / 1.26 GB, free: 185.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002172/1.446, allocations: 0.6312 MB / 1.261 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003297/1.45, allocations: 0.4883 MB / 1.261 GB, free: 185.2 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004567/1.454, allocations: 6.192 MB / 1.267 GB, free: 180.2 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003578/1.458, allocations: 456.4 kB / 1.268 GB, free: 180.1 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/1.458, allocations: 30.98 kB / 1.268 GB, free: 180.1 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001189/1.459, allocations: 0.6764 MB / 1.269 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003366/1.46, allocations: 154.4 kB / 1.269 GB, free: 179.9 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01087/1.47, allocations: 2.341 MB / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.987e-06/1.47, allocations: 2.125 kB / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.745e-06/1.47, allocations: 1.578 kB / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.184e-06/1.471, allocations: 5.078 kB / 1.271 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00247/1.473, allocations: 1.253 MB / 1.272 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.781e-06/1.473, allocations: 1.344 kB / 1.272 GB, free: 179.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003106/1.476, allocations: 441.9 kB / 1.273 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.097e-06/1.476, allocations: 2.281 kB / 1.273 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.894e-05/1.476, allocations: 21.83 kB / 1.273 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.57e-06/1.476, allocations: 1.281 kB / 1.273 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/1.476, allocations: 4.688 kB / 1.273 GB, free: 179.3 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01133/1.488, allocations: 2.257 MB / 1.275 GB, free: 179.1 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001352/1.489, allocations: 425.3 kB / 1.275 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000621/1.49, allocations: 7.781 kB / 1.275 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003729/1.493, allocations: 404.5 kB / 1.276 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000168/1.494, allocations: 21.55 kB / 1.276 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001289/1.494, allocations: 28.03 kB / 1.276 GB, free: 178.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.005366/1.499, allocations: 1.769 MB / 1.277 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.81e-07/1.499, allocations: 1.062 kB / 1.277 GB, free: 178.7 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003394/1.502, allocations: 0.5485 MB / 1.278 GB, free: 178.7 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 (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.000735/1.503, allocations: 241.8 kB / 1.278 GB, free: 178.6 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.01849/1.522, allocations: 4.986 MB / 1.283 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 6.833e-06/1.522, allocations: 1.156 kB / 1.283 GB, free: 177.4 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.005445/1.527, allocations: 1.148 MB / 1.284 GB, free: 177 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/1.53, allocations: 356 kB / 1.285 GB, free: 176.9 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02184/1.552, allocations: 5.144 MB / 1.29 GB, free: 174.7 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001035/1.553, allocations: 1.417 MB / 1.291 GB, free: 173.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002016/1.555, allocations: 448 kB / 1.291 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000588/1.556, allocations: 87.12 kB / 1.291 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of SimCode: time 1.453e-06/1.556, allocations: 5.156 kB / 1.291 GB, free: 173.5 MB / 0.9981 GB Notification: Performance of Templates: time 0.03811/1.594, allocations: 27.59 MB / 1.318 GB, free: 150.4 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