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.001145/0.001145, allocations: 111 kB / 16.42 MB, free: 6.512 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.001102/0.001103, allocations: 186.7 kB / 17.35 MB, free: 5.738 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.39/1.39, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.74/2.74, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001676/0.001676, allocations: 67.91 kB / 1.055 GB, free: 7.621 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.171/1.173, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.004639/1.178, allocations: 2.952 MB / 1.211 GB, free: 10.64 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.1841/1.362, allocations: 154.7 MB / 1.362 GB, free: 15.38 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000512/1.363, allocations: 4 kB / 1.362 GB, free: 15.38 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.001869/1.365, allocations: 0.5423 MB / 1.363 GB, free: 14.84 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.002346/1.367, allocations: 0.6803 MB / 1.364 GB, free: 14.15 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.002182/1.369, allocations: 0.6496 MB / 1.364 GB, free: 13.5 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.001874/1.371, allocations: 1.342 MB / 1.366 GB, free: 12.16 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003893/1.371, allocations: 198.5 kB / 1.366 GB, free: 11.95 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008208/1.372, allocations: 498.1 kB / 1.366 GB, free: 11.46 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001292/1.374, allocations: 0.6343 MB / 1.367 GB, free: 10.83 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0003906/1.374, allocations: 96 kB / 1.367 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002944/1.377, allocations: 1.193 MB / 1.368 GB, free: 9.539 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005865/1.377, allocations: 390.8 kB / 1.368 GB, free: 9.156 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001249/1.379, allocations: 0.68 MB / 1.369 GB, free: 8.473 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.004778/1.384, allocations: 2.808 MB / 1.372 GB, free: 5.656 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.384, allocations: 0 / 1.372 GB, free: 5.656 MB / 1.092 GB Notification: Performance of FrontEnd: time 2.104e-06/1.384, allocations: 0 / 1.372 GB, free: 5.656 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.656e-05/1.384, allocations: 3.938 kB / 1.372 GB, free: 5.652 MB / 1.092 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.004155/1.388, allocations: 2.076 MB / 1.374 GB, free: 3.512 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 5.59e-05/1.388, allocations: 8.031 kB / 1.374 GB, free: 3.504 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01582/1.404, allocations: 1.777 MB / 1.376 GB, free: 1.723 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003091/1.407, allocations: 1.44 MB / 1.377 GB, free: 240 kB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.796e-05/1.407, allocations: 19.94 kB / 1.377 GB, free: 220 kB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.357e-05/1.407, allocations: 24 kB / 1.377 GB, free: 196 kB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005384/1.412, allocations: 1.019 MB / 1.378 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.129e-05/1.412, allocations: 0 / 1.378 GB, free: 15.16 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.408e-05/1.412, allocations: 11.98 kB / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/1.412, allocations: 0 / 1.378 GB, free: 15.14 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009545/1.422, allocations: 1.666 MB / 1.38 GB, free: 13.48 MB / 1.107 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01114/1.433, allocations: 3.462 MB / 1.383 GB, free: 9.855 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01022/1.443, allocations: 1.774 MB / 1.385 GB, free: 8.07 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00495/1.448, allocations: 0.8434 MB / 1.386 GB, free: 7.223 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008836/1.449, allocations: 0.5259 MB / 1.386 GB, free: 6.586 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00509/1.454, allocations: 0.9685 MB / 1.387 GB, free: 5.598 MB / 1.107 GB Notification: Performance of pre-optimization done (n=23): time 4.599e-06/1.455, allocations: 0 / 1.387 GB, free: 5.598 MB / 1.107 GB Notification: Performance of matching and sorting (n=23): time 0.01599/1.471, allocations: 2.719 MB / 1.39 GB, free: 2.863 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.907e-05/1.471, allocations: 110.8 kB / 1.39 GB, free: 2.73 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005337/1.476, allocations: 2.472 MB / 1.392 GB, free: 260 kB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0002201/1.476, allocations: 33.7 kB / 1.392 GB, free: 220 kB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007978/1.477, allocations: 0.5939 MB / 1.393 GB, free: 15.61 MB / 1.123 GB Notification: Performance of collectInitialBindings (initialization): time 0.000179/1.477, allocations: 70.92 kB / 1.393 GB, free: 15.55 MB / 1.123 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004024/1.478, allocations: 117.6 kB / 1.393 GB, free: 15.43 MB / 1.123 GB Notification: Performance of setup shared object (initialization): time 0.000172/1.478, allocations: 329.9 kB / 1.393 GB, free: 15.1 MB / 1.123 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005214/1.483, allocations: 0.9883 MB / 1.394 GB, free: 14.11 MB / 1.123 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005136/1.488, allocations: 1.003 MB / 1.395 GB, free: 13.09 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009332/1.498, allocations: 1.673 MB / 1.397 GB, free: 11.4 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.042e-06/1.498, allocations: 0 / 1.397 GB, free: 11.4 MB / 1.123 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01278/1.51, allocations: 2.529 MB / 1.399 GB, free: 8.844 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 6.267e-05/1.51, allocations: 41.69 kB / 1.399 GB, free: 8.797 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.334e-06/1.51, allocations: 0 / 1.399 GB, free: 8.797 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003773/1.514, allocations: 0.803 MB / 1.4 GB, free: 7.98 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003236/1.518, allocations: 399.4 kB / 1.401 GB, free: 7.59 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01041/1.528, allocations: 7.973 MB / 1.408 GB, free: 15.05 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003687/1.532, allocations: 363 kB / 1.409 GB, free: 14.7 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000239/1.532, allocations: 35.97 kB / 1.409 GB, free: 14.66 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.006178/1.538, allocations: 1.499 MB / 1.41 GB, free: 13.16 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.005264/1.543, allocations: 0.9913 MB / 1.411 GB, free: 12.16 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009413/1.553, allocations: 1.654 MB / 1.413 GB, free: 10.49 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.739e-06/1.553, allocations: 0 / 1.413 GB, free: 10.49 MB / 1.139 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.01171/1.565, allocations: 2.346 MB / 1.415 GB, free: 8.113 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.768e-05/1.565, allocations: 37.69 kB / 1.415 GB, free: 8.07 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/1.565, allocations: 4 kB / 1.415 GB, free: 8.066 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002279/1.567, allocations: 0.6236 MB / 1.416 GB, free: 7.43 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003257/1.57, allocations: 403.3 kB / 1.416 GB, free: 7.035 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006396/1.577, allocations: 6.618 MB / 1.423 GB, free: 15.85 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003665/1.58, allocations: 359.2 kB / 1.423 GB, free: 15.5 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000219/1.581, allocations: 35.97 kB / 1.423 GB, free: 15.46 MB / 1.154 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.000421/1.581, allocations: 225.9 kB / 1.423 GB, free: 15.23 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007001/1.582, allocations: 154.2 kB / 1.423 GB, free: 15.08 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01058/1.592, allocations: 1.941 MB / 1.425 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.911e-05/1.592, allocations: 3.984 kB / 1.425 GB, free: 13.11 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.869e-06/1.592, allocations: 7.922 kB / 1.425 GB, free: 13.1 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001336/1.594, allocations: 419.1 kB / 1.426 GB, free: 12.67 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006295/1.594, allocations: 15.98 kB / 1.426 GB, free: 12.66 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003143/1.598, allocations: 295.5 kB / 1.426 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001061/1.598, allocations: 27.92 kB / 1.426 GB, free: 12.34 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01173/1.61, allocations: 2.109 MB / 1.428 GB, free: 10.2 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.01011/1.62, allocations: 2.013 MB / 1.43 GB, free: 8.164 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004824/1.625, allocations: 0.8645 MB / 1.431 GB, free: 7.301 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.003957/1.629, allocations: 1.768 MB / 1.433 GB, free: 5.539 MB / 1.154 GB Notification: Performance of Backend: time 1.763e-06/1.629, allocations: 3.938 kB / 1.433 GB, free: 5.535 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01594/1.644, allocations: 3.907 MB / 1.436 GB, free: 1.492 MB / 1.154 GB Notification: Performance of SimCode: time 0.006985/1.652, allocations: 3.34 MB / 1.44 GB, free: 14.1 MB / 1.17 GB Notification: Performance of Templates: time 0.06335/1.715, allocations: 39.05 MB / 1.478 GB, free: 7.211 MB / 1.201 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/jenkins1/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