Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/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_11_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_11_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.001518/0.001518, allocations: 120 kB / 16.81 MB, free: 5.754 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.001566/0.001566, allocations: 196.7 kB / 17.77 MB, free: 5.125 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.511/1.511, allocations: 225.6 MB / 244.2 MB, free: 13.91 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.973/2.973, allocations: 476.7 MB / 0.7556 GB, free: 11.33 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00184/0.00184, allocations: 70.02 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3833/0.3852, allocations: 168.7 MB / 1.262 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.005296/0.3905, allocations: 2.965 MB / 1.265 GB, free: 9.949 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.2082/0.5987, allocations: 155.1 MB / 1.416 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003497/0.5991, allocations: 8 kB / 1.416 GB, free: 14.21 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.6007, allocations: 0.5442 MB / 1.417 GB, free: 13.66 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.002047/0.6028, allocations: 0.692 MB / 1.418 GB, free: 12.96 MB / 1.139 GB Notification: Performance of NFTyping.typeClassSections: time 0.001824/0.6046, allocations: 0.6692 MB / 1.418 GB, free: 12.3 MB / 1.139 GB Notification: Performance of NFFlatten.flatten: time 0.001615/0.6062, allocations: 1.336 MB / 1.42 GB, free: 10.96 MB / 1.139 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002339/0.6064, allocations: 114.5 kB / 1.42 GB, free: 10.83 MB / 1.139 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005566/0.607, allocations: 0.4942 MB / 1.42 GB, free: 10.34 MB / 1.139 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009568/0.6079, allocations: 0.6499 MB / 1.421 GB, free: 9.684 MB / 1.139 GB Notification: Performance of NFPackage.collectConstants: time 0.000166/0.6081, allocations: 100 kB / 1.421 GB, free: 9.586 MB / 1.139 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002487/0.6106, allocations: 1.24 MB / 1.422 GB, free: 8.344 MB / 1.139 GB Notification: Performance of NFScalarize.scalarize: time 0.0004213/0.611, allocations: 406.7 kB / 1.423 GB, free: 7.945 MB / 1.139 GB Notification: Performance of NFVerifyModel.verify: time 0.0007933/0.6118, allocations: 0.6722 MB / 1.423 GB, free: 7.27 MB / 1.139 GB Notification: Performance of NFConvertDAE.convert: time 0.003842/0.6157, allocations: 2.826 MB / 1.426 GB, free: 4.434 MB / 1.139 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.6157, allocations: 7.938 kB / 1.426 GB, free: 4.426 MB / 1.139 GB Notification: Performance of FrontEnd: time 1.513e-06/0.6157, allocations: 0 / 1.426 GB, free: 4.426 MB / 1.139 GB Notification: Performance of Transformations before backend: time 2.622e-05/0.6157, allocations: 0 / 1.426 GB, free: 4.426 MB / 1.139 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.004214/0.6199, allocations: 2.126 MB / 1.428 GB, free: 2.234 MB / 1.139 GB Notification: Performance of prepare preOptimizeDAE: time 0.0001347/0.62, allocations: 8.031 kB / 1.428 GB, free: 2.227 MB / 1.139 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01585/0.6359, allocations: 1.786 MB / 1.43 GB, free: 448 kB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00322/0.6391, allocations: 1.465 MB / 1.431 GB, free: 14.93 MB / 1.154 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.363e-05/0.6391, allocations: 15.94 kB / 1.431 GB, free: 14.91 MB / 1.154 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001116/0.6393, allocations: 24 kB / 1.431 GB, free: 14.89 MB / 1.154 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005316/0.6446, allocations: 1.019 MB / 1.432 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.425e-05/0.6446, allocations: 0 / 1.432 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.802e-05/0.6446, allocations: 0 / 1.432 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.195e-05/0.6447, allocations: 4 kB / 1.432 GB, free: 13.85 MB / 1.154 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.009602/0.6543, allocations: 1.674 MB / 1.434 GB, free: 12.17 MB / 1.154 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01084/0.6651, allocations: 3.481 MB / 1.437 GB, free: 8.523 MB / 1.154 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01009/0.6752, allocations: 1.758 MB / 1.439 GB, free: 6.754 MB / 1.154 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004729/0.6799, allocations: 0.8279 MB / 1.44 GB, free: 5.922 MB / 1.154 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008617/0.6808, allocations: 0.522 MB / 1.44 GB, free: 5.289 MB / 1.154 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004951/0.6857, allocations: 0.9723 MB / 1.441 GB, free: 4.297 MB / 1.154 GB Notification: Performance of pre-optimization done (n=23): time 3.647e-06/0.6857, allocations: 0 / 1.441 GB, free: 4.297 MB / 1.154 GB Notification: Performance of matching and sorting (n=23): time 0.0157/0.7014, allocations: 2.728 MB / 1.444 GB, free: 1.555 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.32e-05/0.7015, allocations: 110.8 kB / 1.444 GB, free: 1.422 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004262/0.7058, allocations: 2.472 MB / 1.447 GB, free: 14.95 MB / 1.17 GB Notification: Performance of collectPreVariables (initialization): time 0.0002031/0.706, allocations: 33.7 kB / 1.447 GB, free: 14.91 MB / 1.17 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006963/0.7067, allocations: 0.5939 MB / 1.447 GB, free: 14.31 MB / 1.17 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001489/0.7068, allocations: 79.41 kB / 1.447 GB, free: 14.23 MB / 1.17 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003071/0.7071, allocations: 113.6 kB / 1.447 GB, free: 14.11 MB / 1.17 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.7073, allocations: 329.9 kB / 1.448 GB, free: 13.79 MB / 1.17 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005146/0.7124, allocations: 0.9844 MB / 1.449 GB, free: 12.8 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005137/0.7176, allocations: 1.011 MB / 1.45 GB, free: 11.78 MB / 1.17 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009189/0.7268, allocations: 1.673 MB / 1.451 GB, free: 10.09 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.723e-06/0.7268, allocations: 0 / 1.451 GB, free: 10.09 MB / 1.17 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01235/0.7391, allocations: 2.534 MB / 1.454 GB, free: 7.523 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 6.9e-05/0.7392, allocations: 41.69 kB / 1.454 GB, free: 7.477 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.016e-05/0.7392, allocations: 0 / 1.454 GB, free: 7.477 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003711/0.7429, allocations: 0.803 MB / 1.454 GB, free: 6.66 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003145/0.7461, allocations: 395.4 kB / 1.455 GB, free: 6.273 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01066/0.7567, allocations: 7.959 MB / 1.463 GB, free: 13.75 MB / 1.186 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003638/0.7604, allocations: 371.1 kB / 1.463 GB, free: 13.38 MB / 1.186 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001638/0.7605, allocations: 39.91 kB / 1.463 GB, free: 13.34 MB / 1.186 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.005995/0.7665, allocations: 1.491 MB / 1.464 GB, free: 11.85 MB / 1.186 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00502/0.7715, allocations: 0.9874 MB / 1.465 GB, free: 10.86 MB / 1.186 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.009294/0.7808, allocations: 1.658 MB / 1.467 GB, free: 9.18 MB / 1.186 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.018e-06/0.7808, allocations: 0 / 1.467 GB, free: 9.18 MB / 1.186 GB Notification: Performance of matching and sorting (n=49) (initialization_lambda0): time 0.01128/0.7921, allocations: 2.35 MB / 1.469 GB, free: 6.801 MB / 1.186 GB Notification: Performance of prepare postOptimizeDAE: time 5.438e-05/0.7922, allocations: 39.27 kB / 1.469 GB, free: 6.758 MB / 1.186 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.7922, allocations: 7.984 kB / 1.469 GB, free: 6.75 MB / 1.186 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002166/0.7943, allocations: 0.6237 MB / 1.47 GB, free: 6.113 MB / 1.186 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00315/0.7975, allocations: 399.3 kB / 1.47 GB, free: 5.723 MB / 1.186 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006571/0.8041, allocations: 6.632 MB / 1.477 GB, free: 14.53 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003523/0.8076, allocations: 359.3 kB / 1.477 GB, free: 14.18 MB / 1.201 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/0.8077, allocations: 31.97 kB / 1.477 GB, free: 14.15 MB / 1.201 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.0003668/0.8081, allocations: 232.9 kB / 1.477 GB, free: 13.91 MB / 1.201 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000339/0.8084, allocations: 155 kB / 1.478 GB, free: 13.76 MB / 1.201 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01008/0.8185, allocations: 1.953 MB / 1.48 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.644e-06/0.8185, allocations: 0 / 1.48 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.8185, allocations: 0 / 1.48 GB, free: 11.78 MB / 1.201 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001139/0.8197, allocations: 431.9 kB / 1.48 GB, free: 11.34 MB / 1.201 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000262/0.8199, allocations: 8 kB / 1.48 GB, free: 11.33 MB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002808/0.8227, allocations: 303.5 kB / 1.48 GB, free: 11.04 MB / 1.201 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.79e-05/0.8228, allocations: 23.97 kB / 1.48 GB, free: 11.01 MB / 1.201 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.01161/0.8344, allocations: 2.113 MB / 1.482 GB, free: 8.875 MB / 1.201 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009942/0.8444, allocations: 2.022 MB / 1.484 GB, free: 6.824 MB / 1.201 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.004678/0.849, allocations: 0.8231 MB / 1.485 GB, free: 6 MB / 1.201 GB Notification: Performance of sorting global known variables: time 0.003891/0.8529, allocations: 1.772 MB / 1.487 GB, free: 4.234 MB / 1.201 GB Notification: Performance of Backend: time 1.343e-06/0.8529, allocations: 0 / 1.487 GB, free: 4.234 MB / 1.201 GB Notification: Performance of simCode: created initialization part: time 0.01564/0.8686, allocations: 3.835 MB / 1.491 GB, free: 264 kB / 1.201 GB Notification: Performance of SimCode: time 0.006116/0.8747, allocations: 3.375 MB / 1.494 GB, free: 12.82 MB / 1.217 GB Notification: Performance of Templates: time 0.06452/0.9392, allocations: 39.43 MB / 1.532 GB, free: 5.57 MB / 1.248 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches