Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001013/0.001013, allocations: 80.8 kB / 20.75 MB, free: 3.742 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00142/0.00142, allocations: 161 kB / 24.16 MB, free: 336 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9152/0.9152, allocations: 177.1 MB / 204.6 MB, free: 5.48 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.795/1.795, allocations: 377.9 MB / 0.624 GB, free: 8.367 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") translateModel(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|cooCap.TConIn|cooCap.TEvaIn|cooCap.m_flow|cooCap.Q_flow.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.323e-06/1.323e-06, allocations: 0.7656 kB / 0.7601 GB, free: 6.598 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.041e-05/2.173e-05, allocations: 6.25 kB / 0.7601 GB, free: 6.59 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.002904/0.002925, allocations: 2.885 MB / 0.7629 GB, free: 3.727 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.002128/0.005053, allocations: 2.238 MB / 0.7651 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.964e-05/0.005143, allocations: 0 / 0.7651 GB, free: 1.488 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 0.0004942/0.005637, allocations: 231.6 kB / 0.7653 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 0.0001065/0.005744, allocations: 85.69 kB / 0.7654 GB, free: 1.18 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006739/0.006418, allocations: 490.4 kB / 0.7658 GB, free: 0.7031 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 0.0003836/0.006801, allocations: 0.5257 MB / 0.7663 GB, free: 184 kB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.707e-05/0.006878, allocations: 31.38 kB / 0.7664 GB, free: 152 kB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002125/0.007091, allocations: 269.7 kB / 0.7666 GB, free: 15.89 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001727/0.007263, allocations: 179.6 kB / 0.7668 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 4.637e-05/0.00731, allocations: 36 kB / 0.7668 GB, free: 15.68 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002874/0.007597, allocations: 275.5 kB / 0.7671 GB, free: 15.41 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 0.0001148/0.007712, allocations: 163.5 kB / 0.7673 GB, free: 15.25 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 0.0001003/0.007812, allocations: 139.6 kB / 0.7674 GB, free: 15.11 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0004274/0.00824, allocations: 0.5322 MB / 0.7679 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.008243, allocations: 0 / 0.7679 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of FrontEnd: time 5.41e-07/0.008243, allocations: 0 / 0.7679 GB, free: 14.58 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.808e-06/0.008247, allocations: 0 / 0.7679 GB, free: 14.58 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0006671/0.008914, allocations: 0.709 MB / 0.7686 GB, free: 13.83 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 2.656e-05/0.008941, allocations: 9.281 kB / 0.7686 GB, free: 13.82 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007796/0.00972, allocations: 202.5 kB / 0.7688 GB, free: 13.63 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.01015, allocations: 279.8 kB / 0.7691 GB, free: 13.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000136/0.01029, allocations: 136.6 kB / 0.7692 GB, free: 13.18 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.63e-05/0.01034, allocations: 20.31 kB / 0.7692 GB, free: 13.16 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004353/0.01078, allocations: 224.7 kB / 0.7694 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.983e-06/0.01078, allocations: 0.6875 kB / 0.7694 GB, free: 12.94 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.433e-05/0.01081, allocations: 7.562 kB / 0.7694 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.01082, allocations: 4 kB / 0.7694 GB, free: 12.93 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001607/0.01098, allocations: 79.88 kB / 0.7695 GB, free: 12.85 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009695/0.01195, allocations: 0.4884 MB / 0.77 GB, free: 12.35 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001349/0.01329, allocations: 481.9 kB / 0.7705 GB, free: 11.89 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.01341, allocations: 61.77 kB / 0.7705 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.462e-05/0.01344, allocations: 4 kB / 0.7705 GB, free: 11.82 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002826/0.01372, allocations: 163.5 kB / 0.7707 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=21): time 2.675e-06/0.01372, allocations: 0 / 0.7707 GB, free: 11.65 MB / 0.7292 GB Notification: Performance of matching and sorting (n=21): time 0.0004874/0.01421, allocations: 194.7 kB / 0.7709 GB, free: 11.46 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.109e-05/0.01425, allocations: 63.34 kB / 0.7709 GB, free: 11.39 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003688/0.01462, allocations: 364.3 kB / 0.7713 GB, free: 11.02 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 5.072e-05/0.01467, allocations: 37.69 kB / 0.7713 GB, free: 10.97 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 8.26e-05/0.01475, allocations: 137.8 kB / 0.7714 GB, free: 10.83 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 6.364e-05/0.01482, allocations: 64.36 kB / 0.7715 GB, free: 10.77 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000125/0.01494, allocations: 57.64 kB / 0.7716 GB, free: 10.71 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.01506, allocations: 362.6 kB / 0.7719 GB, free: 10.34 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001899/0.01525, allocations: 110.3 kB / 0.772 GB, free: 10.23 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001988/0.01544, allocations: 175.3 kB / 0.7722 GB, free: 10.04 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002623/0.01571, allocations: 173.1 kB / 0.7723 GB, free: 9.867 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.727e-06/0.01571, allocations: 3.984 kB / 0.7723 GB, free: 9.863 MB / 0.7292 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0004319/0.01614, allocations: 293.7 kB / 0.7726 GB, free: 9.559 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 4.568e-05/0.01619, allocations: 45.69 kB / 0.7727 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.01619, allocations: 0.7188 kB / 0.7727 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.266e-05/0.01621, allocations: 0.6875 kB / 0.7727 GB, free: 9.508 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002775/0.01648, allocations: 62.58 kB / 0.7727 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.236e-06/0.01649, allocations: 0 / 0.7727 GB, free: 9.449 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002004/0.01669, allocations: 45.11 kB / 0.7728 GB, free: 9.406 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-05/0.01673, allocations: 7.984 kB / 0.7728 GB, free: 9.398 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (onOff.y,cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (22): * Single equations (assignments): 21 * 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 prepare postOptimizeDAE: time 0.0002514/0.01698, allocations: 135.8 kB / 0.7729 GB, free: 9.258 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.01705, allocations: 43.89 kB / 0.7729 GB, free: 9.215 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.694e-05/0.0171, allocations: 36.02 kB / 0.773 GB, free: 9.18 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.445e-06/0.01711, allocations: 4 kB / 0.773 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.375e-06/0.01711, allocations: 0.6562 kB / 0.773 GB, free: 9.176 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.569e-06/0.01711, allocations: 3.984 kB / 0.773 GB, free: 9.172 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003103/0.01742, allocations: 247.2 kB / 0.7732 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.01743, allocations: 0 / 0.7732 GB, free: 8.914 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002454/0.01767, allocations: 60.88 kB / 0.7733 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.025e-06/0.01767, allocations: 0.7188 kB / 0.7733 GB, free: 8.855 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.663e-05/0.0177, allocations: 15.92 kB / 0.7733 GB, free: 8.84 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.856e-06/0.0177, allocations: 5.297 kB / 0.7733 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.382e-06/0.01771, allocations: 0 / 0.7733 GB, free: 8.836 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000341/0.01805, allocations: 189.8 kB / 0.7735 GB, free: 8.633 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001498/0.0182, allocations: 72.42 kB / 0.7736 GB, free: 8.562 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.573e-05/0.01825, allocations: 8 kB / 0.7736 GB, free: 8.555 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002103/0.01846, allocations: 33.83 kB / 0.7736 GB, free: 8.523 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.606e-05/0.01853, allocations: 24.84 kB / 0.7736 GB, free: 8.5 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.661e-05/0.01856, allocations: 11.97 kB / 0.7736 GB, free: 8.488 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.0001563/0.01871, allocations: 160.7 kB / 0.7738 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of sort global known variables: time 7e-08/0.01871, allocations: 1.062 kB / 0.7738 GB, free: 8.332 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0003326/0.01904, allocations: 99.94 kB / 0.7739 GB, free: 8.234 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition2,$whenCondition1,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1],onOff.y) * Number of discrete states: 2 (cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.000221/0.01927, allocations: 121.3 kB / 0.774 GB, free: 8.109 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004142/0.01968, allocations: 263.7 kB / 0.7742 GB, free: 7.832 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 8.906e-06/0.01969, allocations: 8 kB / 0.7743 GB, free: 7.824 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.0001552/0.01984, allocations: 81.12 kB / 0.7743 GB, free: 7.746 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003366/0.02018, allocations: 125.2 kB / 0.7745 GB, free: 7.625 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00136/0.02154, allocations: 0.6982 MB / 0.7751 GB, free: 6.902 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.02164, allocations: 133.1 kB / 0.7753 GB, free: 6.754 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.0003055/0.02195, allocations: 78.47 kB / 0.7753 GB, free: 6.703 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003655/0.02231, allocations: 153.8 kB / 0.7755 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of SimCode: time 7.91e-07/0.02232, allocations: 0 / 0.7755 GB, free: 6.555 MB / 0.7292 GB Notification: Performance of Templates: time 0.0151/0.03741, allocations: 10.11 MB / 0.7854 GB, free: 12.69 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.852745276875794]