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.001444/0.001444, allocations: 94.47 kB / 19.44 MB, free: 320 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.00246/0.00246, allocations: 161.3 kB / 22.76 MB, free: 1.652 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.589/1.589, allocations: 177.1 MB / 203.1 MB, free: 5.586 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.31/3.31, allocations: 429.6 MB / 0.673 GB, free: 3.891 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 1.673e-06/1.673e-06, allocations: 0 / 0.8776 GB, free: 6.465 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.34e-05/3.508e-05, allocations: 6.219 kB / 0.8776 GB, free: 6.461 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005475/0.00551, allocations: 2.709 MB / 0.8803 GB, free: 3.766 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.004747/0.01026, allocations: 2.078 MB / 0.8823 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002521/0.01051, allocations: 0.75 kB / 0.8823 GB, free: 1.688 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.001049/0.01156, allocations: 239 kB / 0.8825 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0003273/0.01189, allocations: 90.59 kB / 0.8826 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001545/0.01343, allocations: 488 kB / 0.8831 GB, free: 0.8906 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0009575/0.01439, allocations: 0.5249 MB / 0.8836 GB, free: 376 kB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001441/0.01453, allocations: 24.92 kB / 0.8836 GB, free: 352 kB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0006156/0.01515, allocations: 271.5 kB / 0.8839 GB, free: 80 kB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004561/0.0156, allocations: 183.6 kB / 0.8841 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 0.0001428/0.01575, allocations: 36 kB / 0.8841 GB, free: 15.86 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008185/0.01657, allocations: 275.5 kB / 0.8844 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 0.0004027/0.01697, allocations: 163.5 kB / 0.8845 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 0.00041/0.01738, allocations: 139.7 kB / 0.8846 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.001952/0.01933, allocations: 0.8101 MB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 7.494e-06/0.01934, allocations: 0 / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.995e-06/0.01934, allocations: 0 / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.299e-05/0.01937, allocations: 0 / 0.8854 GB, free: 14.48 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.003187/0.02256, allocations: 0.7837 MB / 0.8862 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 6.751e-05/0.02263, allocations: 8.031 kB / 0.8862 GB, free: 13.65 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00311/0.02574, allocations: 284.3 kB / 0.8865 GB, free: 13.37 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009144/0.02665, allocations: 375.8 kB / 0.8868 GB, free: 12.98 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002404/0.02689, allocations: 139.3 kB / 0.887 GB, free: 12.82 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.644e-05/0.02698, allocations: 12.38 kB / 0.887 GB, free: 12.81 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001546/0.02853, allocations: 0.5417 MB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.5e-05/0.02854, allocations: 4.188 kB / 0.8875 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.376e-05/0.02859, allocations: 8.125 kB / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.0286, allocations: 0 / 0.8875 GB, free: 12.25 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002905/0.0315, allocations: 0.7885 MB / 0.8883 GB, free: 11.46 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003165/0.03467, allocations: 1.144 MB / 0.8894 GB, free: 10.29 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005789/0.04046, allocations: 1.033 MB / 0.8904 GB, free: 9.242 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00117/0.04163, allocations: 405.2 kB / 0.8908 GB, free: 8.844 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 4.117e-05/0.04167, allocations: 7.938 kB / 0.8908 GB, free: 8.836 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001561/0.04323, allocations: 0.538 MB / 0.8913 GB, free: 8.285 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=21): time 5.37e-06/0.04324, allocations: 11.92 kB / 0.8913 GB, free: 8.273 MB / 0.8542 GB Notification: Performance of matching and sorting (n=21): time 0.004036/0.04727, allocations: 1.245 MB / 0.8926 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.644e-05/0.04736, allocations: 59.34 kB / 0.8926 GB, free: 6.953 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001007/0.04836, allocations: 0.5174 MB / 0.8931 GB, free: 6.43 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 0.0001119/0.04848, allocations: 33.7 kB / 0.8932 GB, free: 6.391 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002737/0.04875, allocations: 200.6 kB / 0.8933 GB, free: 6.188 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001292/0.04888, allocations: 67.38 kB / 0.8934 GB, free: 6.121 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002268/0.04911, allocations: 73.66 kB / 0.8935 GB, free: 6.043 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.000246/0.04935, allocations: 354.8 kB / 0.8938 GB, free: 5.688 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001314/0.05067, allocations: 0.4896 MB / 0.8943 GB, free: 5.191 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/0.05209, allocations: 0.5771 MB / 0.8949 GB, free: 4.598 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002394/0.05448, allocations: 0.7937 MB / 0.8956 GB, free: 3.797 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.303e-06/0.05449, allocations: 7.984 kB / 0.8956 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.003127/0.05761, allocations: 1.152 MB / 0.8968 GB, free: 2.617 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.632e-05/0.05769, allocations: 45.69 kB / 0.8968 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.448e-06/0.0577, allocations: 0 / 0.8968 GB, free: 2.566 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.663e-05/0.05773, allocations: 4 kB / 0.8968 GB, free: 2.562 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007748/0.0585, allocations: 95.81 kB / 0.8969 GB, free: 2.469 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.225e-06/0.05851, allocations: 4 kB / 0.8969 GB, free: 2.465 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007133/0.05922, allocations: 67.81 kB / 0.897 GB, free: 2.398 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.101e-05/0.05929, allocations: 15.98 kB / 0.897 GB, free: 2.383 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.0004522/0.05975, allocations: 215.5 kB / 0.8972 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001833/0.05993, allocations: 51.7 kB / 0.8972 GB, free: 2.113 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001357/0.06006, allocations: 55.95 kB / 0.8973 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.059e-06/0.06007, allocations: 0 / 0.8973 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.315e-06/0.06008, allocations: 0 / 0.8973 GB, free: 2.055 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.568e-06/0.06009, allocations: 3.984 kB / 0.8973 GB, free: 2.051 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009237/0.06101, allocations: 0.5241 MB / 0.8978 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.06102, allocations: 0 / 0.8978 GB, free: 1.496 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007604/0.06178, allocations: 95.88 kB / 0.8979 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.2e-06/0.06178, allocations: 0 / 0.8979 GB, free: 1.402 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.285e-05/0.06183, allocations: 15.97 kB / 0.8979 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.925e-06/0.06184, allocations: 0 / 0.8979 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.06184, allocations: 0 / 0.8979 GB, free: 1.387 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002656/0.06449, allocations: 0.8918 MB / 0.8988 GB, free: 488 kB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003288/0.06482, allocations: 119.6 kB / 0.8989 GB, free: 368 kB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.06491, allocations: 12 kB / 0.8989 GB, free: 356 kB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006772/0.06559, allocations: 59.91 kB / 0.899 GB, free: 296 kB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001226/0.06571, allocations: 23.97 kB / 0.899 GB, free: 272 kB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.743e-05/0.06576, allocations: 15.97 kB / 0.899 GB, free: 256 kB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.000633/0.06639, allocations: 395 kB / 0.8994 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of sort global known variables: time 8e-08/0.06639, allocations: 0 / 0.8994 GB, free: 15.86 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0005153/0.06691, allocations: 95.95 kB / 0.8995 GB, free: 15.77 MB / 0.8698 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.0003868/0.0673, allocations: 143 kB / 0.8996 GB, free: 15.62 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 0.002842/0.07014, allocations: 0.9872 MB / 0.9006 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 4.388e-06/0.07014, allocations: 0 / 0.9006 GB, free: 14.61 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 0.001283/0.07143, allocations: 427.6 kB / 0.901 GB, free: 14.2 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006111/0.07204, allocations: 141.6 kB / 0.9011 GB, free: 14.06 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003447/0.07548, allocations: 1.057 MB / 0.9022 GB, free: 12.97 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003662/0.07585, allocations: 252.9 kB / 0.9024 GB, free: 12.71 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 0.0006196/0.07647, allocations: 146.9 kB / 0.9025 GB, free: 12.56 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002315/0.0767, allocations: 40.47 kB / 0.9026 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of SimCode: time 1.984e-06/0.0767, allocations: 0 / 0.9026 GB, free: 12.52 MB / 0.8698 GB Notification: Performance of Templates: time 0.02084/0.09754, allocations: 9.585 MB / 0.9119 GB, free: 3.086 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 800] 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.117807737900876]