Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.0011/0.0011, allocations: 81.95 kB / 21.47 MB, free: 3.031 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.001138/0.001138, allocations: 157.8 kB / 24.86 MB, free: 9.289 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 1.016/1.016, allocations: 177.1 MB / 205.3 MB, free: 5.523 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.783/1.783, allocations: 359 MB / 0.6063 GB, free: 10.88 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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_11_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_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.013e-06/2.013e-06, allocations: 0 / 0.7884 GB, free: 12.19 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.823e-05/4.025e-05, allocations: 3.125 kB / 0.7884 GB, free: 12.18 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004865/0.004905, allocations: 2.868 MB / 0.7912 GB, free: 9.316 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003699/0.008604, allocations: 2.18 MB / 0.7933 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001859/0.00879, allocations: 0 / 0.7933 GB, free: 7.137 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009061/0.009696, allocations: 248.1 kB / 0.7935 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0002026/0.009899, allocations: 82.61 kB / 0.7936 GB, free: 6.816 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001339/0.01124, allocations: 489.2 kB / 0.7941 GB, free: 6.34 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0009718/0.01221, allocations: 0.5185 MB / 0.7946 GB, free: 5.82 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001184/0.01233, allocations: 32.91 kB / 0.7946 GB, free: 5.793 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003807/0.01271, allocations: 269.2 kB / 0.7949 GB, free: 5.531 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002991/0.01301, allocations: 187.6 kB / 0.795 GB, free: 5.348 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.794e-05/0.0131, allocations: 36 kB / 0.7951 GB, free: 5.312 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000487/0.01358, allocations: 267.5 kB / 0.7953 GB, free: 5.051 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0001736/0.01376, allocations: 160.1 kB / 0.7955 GB, free: 4.895 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.00018/0.01394, allocations: 141 kB / 0.7956 GB, free: 4.758 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0007464/0.01468, allocations: 0.5374 MB / 0.7961 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.01469, allocations: 0 / 0.7961 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.393e-06/0.01469, allocations: 0 / 0.7961 GB, free: 4.219 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.646e-06/0.0147, allocations: 1.156 kB / 0.7961 GB, free: 4.219 MB / 0.7448 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.001279/0.01598, allocations: 0.8772 MB / 0.797 GB, free: 3.293 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.127e-05/0.01602, allocations: 12.03 kB / 0.797 GB, free: 3.281 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001608/0.01763, allocations: 212.3 kB / 0.7972 GB, free: 3.082 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004665/0.01809, allocations: 322.6 kB / 0.7975 GB, free: 2.742 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001364/0.01823, allocations: 131.3 kB / 0.7976 GB, free: 2.59 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.923e-05/0.01829, allocations: 16.88 kB / 0.7977 GB, free: 2.574 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006193/0.01891, allocations: 222.9 kB / 0.7979 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.01892, allocations: 0.7812 kB / 0.7979 GB, free: 2.352 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.783e-05/0.01896, allocations: 12.94 kB / 0.7979 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.273e-06/0.01896, allocations: 0 / 0.7979 GB, free: 2.34 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002902/0.01925, allocations: 94.41 kB / 0.798 GB, free: 2.25 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001502/0.02076, allocations: 0.7105 MB / 0.7987 GB, free: 1.516 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002569/0.02332, allocations: 462.1 kB / 0.7991 GB, free: 1.066 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001763/0.0235, allocations: 59.66 kB / 0.7992 GB, free: 1.004 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.818e-05/0.02353, allocations: 7.984 kB / 0.7992 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003485/0.02388, allocations: 176.8 kB / 0.7993 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 2.605e-06/0.02388, allocations: 0 / 0.7993 GB, free: 0.8086 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.0007601/0.02464, allocations: 263.1 kB / 0.7996 GB, free: 0.5469 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.25e-05/0.02469, allocations: 63.33 kB / 0.7997 GB, free: 484 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005553/0.02525, allocations: 0.5181 MB / 0.8002 GB, free: 15.93 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 5.897e-05/0.02531, allocations: 33.7 kB / 0.8002 GB, free: 15.89 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002247/0.02553, allocations: 295.1 kB / 0.8005 GB, free: 15.6 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.148e-05/0.02561, allocations: 63.42 kB / 0.8005 GB, free: 15.54 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001715/0.02578, allocations: 83.22 kB / 0.8006 GB, free: 15.45 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002339/0.02602, allocations: 0.5586 MB / 0.8012 GB, free: 14.88 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002425/0.02626, allocations: 109.6 kB / 0.8013 GB, free: 14.77 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004235/0.02668, allocations: 191.8 kB / 0.8014 GB, free: 14.56 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003595/0.02704, allocations: 173.3 kB / 0.8016 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.938e-06/0.02705, allocations: 3.938 kB / 0.8016 GB, free: 14.38 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.000808/0.02786, allocations: 450.5 kB / 0.802 GB, free: 13.92 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 4.971e-05/0.02791, allocations: 41.69 kB / 0.8021 GB, free: 13.88 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.565e-06/0.02791, allocations: 4 kB / 0.8021 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.02793, allocations: 4 kB / 0.8021 GB, free: 13.87 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003721/0.0283, allocations: 71.86 kB / 0.8022 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.187e-06/0.0283, allocations: 0 / 0.8022 GB, free: 13.8 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002915/0.02859, allocations: 39.86 kB / 0.8022 GB, free: 13.76 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-05/0.02865, allocations: 15.98 kB / 0.8022 GB, free: 13.74 MB / 0.7605 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.0001739/0.02882, allocations: 176.4 kB / 0.8024 GB, free: 13.56 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001107/0.02893, allocations: 51.72 kB / 0.8024 GB, free: 13.51 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.354e-05/0.02901, allocations: 48 kB / 0.8025 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/0.02901, allocations: 0 / 0.8025 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.975e-06/0.02901, allocations: 4 kB / 0.8025 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.508e-06/0.02902, allocations: 0 / 0.8025 GB, free: 13.46 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004461/0.02946, allocations: 320.6 kB / 0.8028 GB, free: 13.12 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.02947, allocations: 7.984 kB / 0.8028 GB, free: 13.11 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000363/0.02983, allocations: 59.94 kB / 0.8029 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.833e-06/0.02984, allocations: 4 kB / 0.8029 GB, free: 13.05 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.096e-05/0.02987, allocations: 11.98 kB / 0.8029 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.02987, allocations: 0 / 0.8029 GB, free: 13.04 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.477e-06/0.02988, allocations: 3.938 kB / 0.8029 GB, free: 13.03 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005843/0.03046, allocations: 259.9 kB / 0.8031 GB, free: 12.75 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002081/0.03067, allocations: 103.6 kB / 0.8032 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.31e-05/0.03073, allocations: 0 / 0.8032 GB, free: 12.65 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003114/0.03104, allocations: 39.97 kB / 0.8033 GB, free: 12.61 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.428e-05/0.03113, allocations: 23.95 kB / 0.8033 GB, free: 12.59 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.838e-05/0.03117, allocations: 11.98 kB / 0.8033 GB, free: 12.58 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003047/0.03147, allocations: 311 kB / 0.8036 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of sort global known variables: time 1.1e-07/0.03147, allocations: 0 / 0.8036 GB, free: 12.28 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004308/0.0319, allocations: 99.92 kB / 0.8037 GB, free: 12.18 MB / 0.7605 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.0002743/0.03218, allocations: 143.1 kB / 0.8038 GB, free: 12.03 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0005841/0.03276, allocations: 291.3 kB / 0.8041 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.03276, allocations: 0 / 0.8041 GB, free: 11.73 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002334/0.033, allocations: 103.5 kB / 0.8042 GB, free: 11.62 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005003/0.0335, allocations: 125.7 kB / 0.8043 GB, free: 11.5 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001789/0.03528, allocations: 0.6994 MB / 0.805 GB, free: 10.76 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001367/0.03542, allocations: 140.9 kB / 0.8051 GB, free: 10.61 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0003746/0.0358, allocations: 78.97 kB / 0.8052 GB, free: 10.53 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004445/0.03624, allocations: 186.1 kB / 0.8054 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of SimCode: time 1.012e-06/0.03624, allocations: 0 / 0.8054 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of Templates: time 0.01245/0.04869, allocations: 10.63 MB / 0.8158 GB, free: 15.87 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.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: 5.165900361258537]