Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0009516/0.0009516, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.0009626/0.0009626, allocations: 173 kB / 23.5 MB, free: 1.051 MB / 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.9403/0.9403, allocations: 177.1 MB / 203.8 MB, free: 5.66 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.061/2.061, allocations: 429.5 MB / 0.6736 GB, free: 4.051 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.695e-06/2.695e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.645e-05/3.914e-05, allocations: 2.906 kB / 0.8782 GB, free: 6.617 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.00536/0.005399, allocations: 2.919 MB / 0.8811 GB, free: 3.707 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004363/0.009762, allocations: 2.224 MB / 0.8832 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002454/0.01001, allocations: 7.938 kB / 0.8833 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001086/0.01109, allocations: 230.5 kB / 0.8835 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002662/0.01136, allocations: 81.28 kB / 0.8836 GB, free: 1.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001626/0.01299, allocations: 499.4 kB / 0.884 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0008948/0.01388, allocations: 0.5202 MB / 0.8845 GB, free: 172 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001781/0.01406, allocations: 24.92 kB / 0.8846 GB, free: 148 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005358/0.01459, allocations: 264.8 kB / 0.8848 GB, free: 15.89 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003988/0.01499, allocations: 183.6 kB / 0.885 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001235/0.01512, allocations: 36 kB / 0.885 GB, free: 15.67 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006821/0.0158, allocations: 277.1 kB / 0.8853 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002152/0.01601, allocations: 159.5 kB / 0.8854 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0001929/0.01621, allocations: 139.6 kB / 0.8856 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001194/0.0174, allocations: 0.5336 MB / 0.8861 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.01741, allocations: 0 / 0.8861 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.334e-06/0.01741, allocations: 4 kB / 0.8861 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 1.342e-05/0.01742, allocations: 0 / 0.8861 GB, free: 14.57 MB / 0.8542 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.001649/0.01907, allocations: 0.8681 MB / 0.8869 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.959e-05/0.01914, allocations: 12.03 kB / 0.887 GB, free: 13.64 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002069/0.02121, allocations: 256.3 kB / 0.8872 GB, free: 13.39 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007038/0.02191, allocations: 342.6 kB / 0.8875 GB, free: 13.03 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001895/0.0221, allocations: 135.3 kB / 0.8877 GB, free: 12.88 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.806e-05/0.02217, allocations: 16.36 kB / 0.8877 GB, free: 12.86 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000795/0.02297, allocations: 255.7 kB / 0.8879 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.281e-05/0.02298, allocations: 192 / 0.8879 GB, free: 12.6 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.635e-05/0.02303, allocations: 8.125 kB / 0.8879 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.428e-05/0.02304, allocations: 4 kB / 0.8879 GB, free: 12.59 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000437/0.02348, allocations: 124.5 kB / 0.888 GB, free: 12.47 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001976/0.02545, allocations: 0.827 MB / 0.8889 GB, free: 11.61 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002514/0.02797, allocations: 479.7 kB / 0.8893 GB, free: 11.12 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002503/0.02822, allocations: 79.64 kB / 0.8894 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.166e-05/0.02825, allocations: 0 / 0.8894 GB, free: 11.04 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004775/0.02873, allocations: 197.1 kB / 0.8896 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 3.276e-06/0.02873, allocations: 0 / 0.8896 GB, free: 10.84 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.0009656/0.0297, allocations: 322.6 kB / 0.8899 GB, free: 10.52 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.626e-05/0.02976, allocations: 59.34 kB / 0.8899 GB, free: 10.45 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005007/0.03026, allocations: 0.53 MB / 0.8905 GB, free: 9.898 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 5.417e-05/0.03032, allocations: 29.7 kB / 0.8905 GB, free: 9.863 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.000196/0.03051, allocations: 287.2 kB / 0.8908 GB, free: 9.574 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 7.176e-05/0.03059, allocations: 75.42 kB / 0.8908 GB, free: 9.5 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001332/0.03072, allocations: 75.3 kB / 0.8909 GB, free: 9.418 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002128/0.03093, allocations: 0.5548 MB / 0.8914 GB, free: 8.852 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002784/0.03121, allocations: 149.6 kB / 0.8916 GB, free: 8.699 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002724/0.03148, allocations: 238.6 kB / 0.8918 GB, free: 8.445 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003568/0.03184, allocations: 224.3 kB / 0.892 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.03184, allocations: 0 / 0.892 GB, free: 8.219 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0007448/0.03259, allocations: 0.5238 MB / 0.8925 GB, free: 7.676 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.999e-05/0.03265, allocations: 37.69 kB / 0.8926 GB, free: 7.633 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/0.03265, allocations: 4 kB / 0.8926 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.089e-05/0.03268, allocations: 0 / 0.8926 GB, free: 7.629 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003459/0.03302, allocations: 75.86 kB / 0.8927 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.217e-06/0.03303, allocations: 0 / 0.8927 GB, free: 7.555 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002305/0.03326, allocations: 51.8 kB / 0.8927 GB, free: 7.504 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.5e-05/0.03331, allocations: 15.97 kB / 0.8927 GB, free: 7.488 MB / 0.8542 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.0001929/0.0335, allocations: 172.5 kB / 0.8929 GB, free: 7.309 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.32e-05/0.03358, allocations: 47.72 kB / 0.8929 GB, free: 7.262 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.672e-05/0.03365, allocations: 48 kB / 0.893 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.249e-06/0.03365, allocations: 0 / 0.893 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/0.03366, allocations: 0 / 0.893 GB, free: 7.215 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.929e-06/0.03367, allocations: 4 kB / 0.893 GB, free: 7.211 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004538/0.03412, allocations: 416 kB / 0.8934 GB, free: 6.77 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.977e-06/0.03412, allocations: 4 kB / 0.8934 GB, free: 6.766 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002731/0.0344, allocations: 67.86 kB / 0.8934 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.0344, allocations: 0 / 0.8934 GB, free: 6.699 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.121e-05/0.03443, allocations: 15.97 kB / 0.8935 GB, free: 6.684 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.03444, allocations: 4 kB / 0.8935 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.184e-06/0.03444, allocations: 0 / 0.8935 GB, free: 6.68 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005339/0.03497, allocations: 298.3 kB / 0.8937 GB, free: 6.367 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001821/0.03516, allocations: 111.6 kB / 0.8939 GB, free: 6.258 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.855e-05/0.03521, allocations: 7.984 kB / 0.8939 GB, free: 6.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.03544, allocations: 31.97 kB / 0.8939 GB, free: 6.219 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.03554, allocations: 27.95 kB / 0.8939 GB, free: 6.191 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.89e-05/0.03557, allocations: 11.98 kB / 0.8939 GB, free: 6.18 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003025/0.03587, allocations: 335 kB / 0.8942 GB, free: 5.852 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8e-08/0.03587, allocations: 3.938 kB / 0.8943 GB, free: 5.848 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003767/0.03625, allocations: 107.9 kB / 0.8944 GB, free: 5.742 MB / 0.8542 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.0003018/0.03655, allocations: 127.2 kB / 0.8945 GB, free: 5.609 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005915/0.03714, allocations: 350.4 kB / 0.8948 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.03714, allocations: 0 / 0.8948 GB, free: 5.246 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0002056/0.03735, allocations: 113 kB / 0.8949 GB, free: 5.133 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004284/0.03778, allocations: 129.7 kB / 0.895 GB, free: 5.004 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001705/0.03948, allocations: 0.6995 MB / 0.8957 GB, free: 4.273 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001026/0.03959, allocations: 145 kB / 0.8959 GB, free: 4.113 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0003375/0.03992, allocations: 114.9 kB / 0.896 GB, free: 4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001435/0.04007, allocations: 48.45 kB / 0.896 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of SimCode: time 1.693e-06/0.04007, allocations: 0 / 0.896 GB, free: 3.953 MB / 0.8542 GB Notification: Performance of Templates: time 0.01771/0.05778, allocations: 9.732 MB / 0.9055 GB, free: 10.37 MB / 0.8698 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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: 6.201992473099381]