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.000979/0.000979, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.0009124/0.0009124, allocations: 161 kB / 23.82 MB, free: 0.7461 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.008/1.008, allocations: 177.1 MB / 204.2 MB, free: 5.629 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.744/1.744, allocations: 359 MB / 0.6052 GB, free: 11.02 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.926e-06/2.926e-06, allocations: 0 / 0.7871 GB, free: 12.47 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.571e-05/3.863e-05, allocations: 3.281 kB / 0.7871 GB, free: 12.46 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005291/0.00533, allocations: 2.921 MB / 0.79 GB, free: 9.547 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.003702/0.009032, allocations: 2.231 MB / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001408/0.009172, allocations: 0 / 0.7922 GB, free: 7.316 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009601/0.01013, allocations: 238.5 kB / 0.7924 GB, free: 7.082 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001893/0.01032, allocations: 85.44 kB / 0.7925 GB, free: 7 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001192/0.01151, allocations: 482.7 kB / 0.7929 GB, free: 6.531 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.000708/0.01222, allocations: 0.5257 MB / 0.7934 GB, free: 6.004 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001479/0.01237, allocations: 26.67 kB / 0.7935 GB, free: 5.984 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003463/0.01272, allocations: 267.5 kB / 0.7937 GB, free: 5.723 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003053/0.01302, allocations: 183.6 kB / 0.7939 GB, free: 5.543 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 8.293e-05/0.0131, allocations: 36 kB / 0.7939 GB, free: 5.508 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005114/0.01362, allocations: 267.5 kB / 0.7942 GB, free: 5.246 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002149/0.01383, allocations: 164.2 kB / 0.7943 GB, free: 5.086 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0001998/0.01403, allocations: 136.6 kB / 0.7945 GB, free: 4.953 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0008159/0.01485, allocations: 0.5375 MB / 0.795 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.01485, allocations: 0 / 0.795 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of FrontEnd: time 2.284e-06/0.01485, allocations: 1.938 kB / 0.795 GB, free: 4.414 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 1.026e-05/0.01486, allocations: 0 / 0.795 GB, free: 4.414 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.001627/0.01649, allocations: 0.8741 MB / 0.7959 GB, free: 3.492 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 5.952e-05/0.01655, allocations: 12.03 kB / 0.7959 GB, free: 3.48 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00121/0.01776, allocations: 215.3 kB / 0.7961 GB, free: 3.277 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000566/0.01833, allocations: 338.6 kB / 0.7964 GB, free: 2.922 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001434/0.01847, allocations: 135.3 kB / 0.7965 GB, free: 2.766 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.997e-05/0.01852, allocations: 16.38 kB / 0.7965 GB, free: 2.75 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005719/0.01909, allocations: 237.9 kB / 0.7968 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.0191, allocations: 192 / 0.7968 GB, free: 2.516 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.644e-05/0.01914, allocations: 16.06 kB / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.301e-05/0.01915, allocations: 0 / 0.7968 GB, free: 2.5 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002945/0.01945, allocations: 118.8 kB / 0.7969 GB, free: 2.387 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001469/0.02092, allocations: 0.8067 MB / 0.7977 GB, free: 1.547 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00183/0.02275, allocations: 478.9 kB / 0.7981 GB, free: 1.078 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001678/0.02291, allocations: 79.66 kB / 0.7982 GB, free: 0.9961 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.644e-05/0.02295, allocations: 7.938 kB / 0.7982 GB, free: 0.9883 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003784/0.02333, allocations: 180.8 kB / 0.7984 GB, free: 0.7969 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 3.407e-06/0.02333, allocations: 4 kB / 0.7984 GB, free: 0.793 MB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.00074/0.02407, allocations: 299 kB / 0.7987 GB, free: 0.4961 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.109e-05/0.02413, allocations: 63.34 kB / 0.7987 GB, free: 432 kB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005445/0.02468, allocations: 0.5261 MB / 0.7993 GB, free: 15.88 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 6.375e-05/0.02474, allocations: 33.7 kB / 0.7993 GB, free: 15.84 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002055/0.02495, allocations: 287.2 kB / 0.7996 GB, free: 15.55 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 8.533e-05/0.02503, allocations: 71.42 kB / 0.7996 GB, free: 15.48 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001382/0.02517, allocations: 71.31 kB / 0.7997 GB, free: 15.4 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0002514/0.02542, allocations: 0.5587 MB / 0.8002 GB, free: 14.83 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002729/0.02569, allocations: 145.6 kB / 0.8004 GB, free: 14.68 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002798/0.02597, allocations: 236.7 kB / 0.8006 GB, free: 14.43 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003381/0.02631, allocations: 215.7 kB / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.02632, allocations: 0 / 0.8008 GB, free: 14.21 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008112/0.02713, allocations: 0.5043 MB / 0.8013 GB, free: 13.69 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.108e-05/0.0272, allocations: 43.09 kB / 0.8014 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.358e-06/0.02721, allocations: 4 kB / 0.8014 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.112e-05/0.02724, allocations: 0 / 0.8014 GB, free: 13.64 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003167/0.02756, allocations: 67.88 kB / 0.8014 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.397e-05/0.02757, allocations: 7.984 kB / 0.8014 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000208/0.02778, allocations: 47.8 kB / 0.8015 GB, free: 13.52 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.301e-05/0.02782, allocations: 11.98 kB / 0.8015 GB, free: 13.51 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.0002212/0.02804, allocations: 172.6 kB / 0.8017 GB, free: 13.33 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.947e-05/0.02813, allocations: 51.72 kB / 0.8017 GB, free: 13.28 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.742e-05/0.02821, allocations: 40.02 kB / 0.8017 GB, free: 13.24 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.885e-06/0.02822, allocations: 4 kB / 0.8017 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.115e-06/0.02823, allocations: 0 / 0.8017 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.943e-06/0.02823, allocations: 3.984 kB / 0.8017 GB, free: 13.23 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004959/0.02873, allocations: 412 kB / 0.8021 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.828e-06/0.02873, allocations: 0 / 0.8021 GB, free: 12.79 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002472/0.02898, allocations: 63.88 kB / 0.8022 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.879e-06/0.02898, allocations: 4 kB / 0.8022 GB, free: 12.73 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.799e-05/0.02901, allocations: 11.97 kB / 0.8022 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.936e-06/0.02902, allocations: 0 / 0.8022 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.02902, allocations: 0 / 0.8022 GB, free: 12.71 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005144/0.02953, allocations: 289.9 kB / 0.8025 GB, free: 12.41 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002024/0.02974, allocations: 103.6 kB / 0.8026 GB, free: 12.31 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.291e-05/0.02979, allocations: 8 kB / 0.8026 GB, free: 12.3 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002155/0.03, allocations: 35.95 kB / 0.8026 GB, free: 12.27 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001068/0.03011, allocations: 27.95 kB / 0.8027 GB, free: 12.24 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.623e-05/0.03014, allocations: 11.98 kB / 0.8027 GB, free: 12.23 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0003064/0.03044, allocations: 335 kB / 0.803 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of sort global known variables: time 3.01e-07/0.03044, allocations: 0 / 0.803 GB, free: 11.9 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0003994/0.03084, allocations: 99.94 kB / 0.8031 GB, free: 11.8 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.0003679/0.03121, allocations: 139.1 kB / 0.8032 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.0006126/0.03182, allocations: 333.3 kB / 0.8035 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 3.397e-06/0.03183, allocations: 0 / 0.8035 GB, free: 11.31 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0002016/0.03203, allocations: 109.8 kB / 0.8036 GB, free: 11.2 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004407/0.03247, allocations: 125.7 kB / 0.8038 GB, free: 11.08 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001748/0.03422, allocations: 0.7034 MB / 0.8044 GB, free: 10.34 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.468e-05/0.03431, allocations: 140.9 kB / 0.8046 GB, free: 10.18 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0002782/0.03459, allocations: 110.9 kB / 0.8047 GB, free: 10.07 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.03473, allocations: 36.47 kB / 0.8047 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of SimCode: time 8.42e-07/0.03473, allocations: 0 / 0.8047 GB, free: 10.04 MB / 0.7605 GB Notification: Performance of Templates: time 0.01296/0.04769, allocations: 9.502 MB / 0.814 GB, free: 0.668 MB / 0.7605 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.545293661765754]