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.002016/0.002016, allocations: 93.47 kB / 19.44 MB, free: 336 kB / 13.93 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.002119/0.002119, allocations: 169.2 kB / 22.76 MB, free: 1.664 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.61/1.61, allocations: 177.1 MB / 203.1 MB, free: 5.621 MB / 186.7 MB " [Timeout remaining time 178] 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 3.377/3.377, allocations: 429.5 MB / 0.6729 GB, free: 3.992 MB / 0.6355 GB " [Timeout remaining time 176] 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.1.|cooCap.EIR.1.",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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 0 / 0.8775 GB, free: 6.582 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.32e-05/3.534e-05, allocations: 3.125 kB / 0.8775 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005394/0.005429, allocations: 2.891 MB / 0.8803 GB, free: 3.699 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004012/0.009441, allocations: 2.223 MB / 0.8825 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001277/0.009569, allocations: 4 kB / 0.8825 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0008601/0.01043, allocations: 227.2 kB / 0.8827 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0001919/0.01062, allocations: 90.17 kB / 0.8828 GB, free: 1.164 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001267/0.01189, allocations: 494.8 kB / 0.8833 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0007346/0.01262, allocations: 0.514 MB / 0.8838 GB, free: 168 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.01274, allocations: 28.86 kB / 0.8838 GB, free: 140 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008487/0.01359, allocations: 275.5 kB / 0.884 GB, free: 15.87 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003209/0.01391, allocations: 183.6 kB / 0.8842 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 9.169e-05/0.014, allocations: 39.94 kB / 0.8843 GB, free: 15.65 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005557/0.01456, allocations: 263.6 kB / 0.8845 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0002489/0.01481, allocations: 163.5 kB / 0.8847 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.0002089/0.01502, allocations: 135.7 kB / 0.8848 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001113/0.01613, allocations: 0.814 MB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.01613, allocations: 0 / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.382e-06/0.01613, allocations: 0 / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.753e-06/0.01614, allocations: 0 / 0.8856 GB, free: 14.28 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.001672/0.01781, allocations: 0.8912 MB / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.01785, allocations: 12.03 kB / 0.8865 GB, free: 13.33 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002535/0.02039, allocations: 244.3 kB / 0.8867 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007106/0.0211, allocations: 350.6 kB / 0.887 GB, free: 12.72 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001934/0.02129, allocations: 135.3 kB / 0.8872 GB, free: 12.57 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.038e-05/0.02136, allocations: 20.31 kB / 0.8872 GB, free: 12.55 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009957/0.02236, allocations: 323 kB / 0.8875 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.064e-05/0.02237, allocations: 192 / 0.8875 GB, free: 12.23 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.73e-05/0.02242, allocations: 12.11 kB / 0.8875 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.013e-05/0.02243, allocations: 4 kB / 0.8875 GB, free: 12.21 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001386/0.02381, allocations: 375.7 kB / 0.8879 GB, free: 11.84 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002491/0.0263, allocations: 0.9127 MB / 0.8888 GB, free: 10.89 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004438/0.03074, allocations: 0.5963 MB / 0.8893 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006989/0.03144, allocations: 195.5 kB / 0.8895 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.608e-05/0.03148, allocations: 4 kB / 0.8895 GB, free: 10.09 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000989/0.03247, allocations: 337 kB / 0.8899 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 2.014e-06/0.03247, allocations: 0 / 0.8899 GB, free: 9.742 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.002508/0.03497, allocations: 0.6398 MB / 0.8905 GB, free: 9.098 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.414e-05/0.03504, allocations: 59.34 kB / 0.8905 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001576/0.03662, allocations: 0.5925 MB / 0.8911 GB, free: 8.418 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 7.548e-05/0.03669, allocations: 33.7 kB / 0.8911 GB, free: 8.379 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003504/0.03704, allocations: 291.3 kB / 0.8914 GB, free: 8.086 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.03717, allocations: 75.42 kB / 0.8915 GB, free: 8.012 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002421/0.03741, allocations: 79.3 kB / 0.8916 GB, free: 7.926 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0004919/0.0379, allocations: 0.5704 MB / 0.8921 GB, free: 7.344 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001014/0.03892, allocations: 269.5 kB / 0.8924 GB, free: 7.074 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001096/0.04001, allocations: 358.5 kB / 0.8927 GB, free: 6.703 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001496/0.04151, allocations: 427.3 kB / 0.8931 GB, free: 6.277 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.348e-06/0.04151, allocations: 4 kB / 0.8931 GB, free: 6.273 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00225/0.04376, allocations: 0.7384 MB / 0.8939 GB, free: 5.516 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.553e-05/0.04386, allocations: 45.69 kB / 0.8939 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.04387, allocations: 0 / 0.8939 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.966e-05/0.0439, allocations: 0 / 0.8939 GB, free: 5.465 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006653/0.04456, allocations: 75.86 kB / 0.894 GB, free: 5.391 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.309e-05/0.04457, allocations: 3.984 kB / 0.894 GB, free: 5.387 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005105/0.04509, allocations: 35.86 kB / 0.894 GB, free: 5.352 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.923e-05/0.04516, allocations: 27.95 kB / 0.894 GB, free: 5.324 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.0004145/0.04558, allocations: 197 kB / 0.8942 GB, free: 5.121 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001482/0.04573, allocations: 59.66 kB / 0.8943 GB, free: 5.062 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001212/0.04585, allocations: 40.02 kB / 0.8943 GB, free: 5.023 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.671e-06/0.04585, allocations: 4 kB / 0.8943 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/0.04586, allocations: 0 / 0.8943 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.208e-06/0.04587, allocations: 0 / 0.8943 GB, free: 5.02 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007819/0.04665, allocations: 460.2 kB / 0.8948 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.04665, allocations: 0 / 0.8948 GB, free: 4.535 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005729/0.04722, allocations: 71.91 kB / 0.8948 GB, free: 4.465 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.007e-06/0.04723, allocations: 4 kB / 0.8948 GB, free: 4.461 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.734e-05/0.04727, allocations: 11.98 kB / 0.8949 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.124e-06/0.04728, allocations: 0 / 0.8949 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.04728, allocations: 0 / 0.8949 GB, free: 4.449 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001626/0.0489, allocations: 0.5132 MB / 0.8954 GB, free: 3.914 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003211/0.04922, allocations: 111.6 kB / 0.8955 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.014e-05/0.0493, allocations: 8 kB / 0.8955 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004953/0.0498, allocations: 35.97 kB / 0.8955 GB, free: 3.762 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001119/0.04991, allocations: 27.95 kB / 0.8955 GB, free: 3.734 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.647e-05/0.04996, allocations: 11.97 kB / 0.8955 GB, free: 3.723 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005295/0.05049, allocations: 387 kB / 0.8959 GB, free: 3.344 MB / 0.8542 GB Notification: Performance of sort global known variables: time 9e-08/0.05049, allocations: 3.938 kB / 0.8959 GB, free: 3.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004373/0.05092, allocations: 95.94 kB / 0.896 GB, free: 3.246 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.0003107/0.05124, allocations: 139.1 kB / 0.8961 GB, free: 3.102 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001763/0.053, allocations: 0.561 MB / 0.8967 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.515e-06/0.053, allocations: 0 / 0.8967 GB, free: 2.52 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0008027/0.0538, allocations: 235.4 kB / 0.8969 GB, free: 2.285 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006002/0.0544, allocations: 129.7 kB / 0.897 GB, free: 2.156 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002523/0.05693, allocations: 0.7895 MB / 0.8978 GB, free: 1.34 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002989/0.05723, allocations: 237 kB / 0.898 GB, free: 1.086 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0005151/0.05774, allocations: 118.9 kB / 0.8981 GB, free: 0.9688 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002143/0.05796, allocations: 48.45 kB / 0.8982 GB, free: 0.9219 MB / 0.8542 GB Notification: Performance of SimCode: time 1.012e-06/0.05796, allocations: 4 kB / 0.8982 GB, free: 0.918 MB / 0.8542 GB Notification: Performance of Templates: time 0.01917/0.07712, allocations: 9.553 MB / 0.9075 GB, free: 7.516 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.096644179080613]