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.002312/0.002312, allocations: 83.69 kB / 20.23 MB, free: 4.18 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.002726/0.002726, allocations: 161.3 kB / 23.55 MB, free: 0.8672 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.657/1.657, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] 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 3.037/3.037, allocations: 359 MB / 0.6048 GB, free: 10.95 MB / 0.573 GB " [Timeout remaining time 176] 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.1.|cooCap.EIR.1.",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.1.|cooCap.EIR.1.",fileNamePrefix="Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.144e-06/2.144e-06, allocations: 0 / 0.7864 GB, free: 12.77 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.431e-05/3.646e-05, allocations: 9.984 kB / 0.7864 GB, free: 12.76 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.005469/0.005505, allocations: 2.883 MB / 0.7892 GB, free: 9.875 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.004409/0.009914, allocations: 2.214 MB / 0.7914 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001536/0.01007, allocations: 5.812 kB / 0.7914 GB, free: 7.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0009424/0.01101, allocations: 234.6 kB / 0.7916 GB, free: 7.426 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001974/0.01121, allocations: 85.94 kB / 0.7917 GB, free: 7.344 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.001318/0.01253, allocations: 489.7 kB / 0.7922 GB, free: 6.867 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0007461/0.01327, allocations: 0.5186 MB / 0.7927 GB, free: 6.348 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001264/0.0134, allocations: 33.39 kB / 0.7927 GB, free: 6.32 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003754/0.01377, allocations: 271.5 kB / 0.793 GB, free: 6.055 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003184/0.01409, allocations: 181.3 kB / 0.7931 GB, free: 5.879 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 9.477e-05/0.01419, allocations: 36 kB / 0.7932 GB, free: 5.844 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005761/0.01476, allocations: 275.5 kB / 0.7934 GB, free: 5.574 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 0.0002515/0.01501, allocations: 159.5 kB / 0.7936 GB, free: 5.418 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 0.0002221/0.01524, allocations: 144.3 kB / 0.7937 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.001189/0.01643, allocations: 0.8069 MB / 0.7945 GB, free: 4.469 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/0.01643, allocations: 4 kB / 0.7945 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of FrontEnd: time 1.543e-06/0.01643, allocations: 0.6875 kB / 0.7945 GB, free: 4.465 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 8.185e-06/0.01644, allocations: 0 / 0.7945 GB, free: 4.465 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.001663/0.01811, allocations: 0.874 MB / 0.7954 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.01815, allocations: 16.02 kB / 0.7954 GB, free: 3.527 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002067/0.02022, allocations: 220.5 kB / 0.7956 GB, free: 3.32 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007194/0.02094, allocations: 342.6 kB / 0.7959 GB, free: 2.961 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001939/0.02113, allocations: 135.3 kB / 0.7961 GB, free: 2.805 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.828e-05/0.02119, allocations: 12.38 kB / 0.7961 GB, free: 2.793 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009435/0.02213, allocations: 303.2 kB / 0.7964 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/0.02215, allocations: 2.094 kB / 0.7964 GB, free: 2.496 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.02219, allocations: 12.11 kB / 0.7964 GB, free: 2.484 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.777e-06/0.0222, allocations: 7.938 kB / 0.7964 GB, free: 2.477 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001546/0.02375, allocations: 338.4 kB / 0.7967 GB, free: 2.152 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002277/0.02602, allocations: 0.8762 MB / 0.7976 GB, free: 1.242 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004331/0.03035, allocations: 0.5711 MB / 0.7981 GB, free: 0.6641 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006485/0.031, allocations: 179.6 kB / 0.7983 GB, free: 496 kB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.016e-05/0.03103, allocations: 0 / 0.7983 GB, free: 496 kB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009218/0.03195, allocations: 312.8 kB / 0.7986 GB, free: 168 kB / 0.7448 GB Notification: Performance of pre-optimization done (n=21): time 2.164e-06/0.03196, allocations: 0 / 0.7986 GB, free: 168 kB / 0.7448 GB Notification: Performance of matching and sorting (n=21): time 0.002363/0.03432, allocations: 0.5949 MB / 0.7992 GB, free: 15.57 MB / 0.7605 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.06e-05/0.03439, allocations: 59.34 kB / 0.7992 GB, free: 15.5 MB / 0.7605 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008718/0.03526, allocations: 0.5886 MB / 0.7998 GB, free: 14.89 MB / 0.7605 GB Notification: Performance of collectPreVariables (initialization): time 7.4e-05/0.03534, allocations: 37.69 kB / 0.7998 GB, free: 14.85 MB / 0.7605 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003294/0.03566, allocations: 295.2 kB / 0.8001 GB, free: 14.55 MB / 0.7605 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001023/0.03577, allocations: 71.44 kB / 0.8002 GB, free: 14.48 MB / 0.7605 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001933/0.03596, allocations: 71.33 kB / 0.8002 GB, free: 14.41 MB / 0.7605 GB Notification: Performance of setup shared object (initialization): time 0.0004178/0.03638, allocations: 0.5704 MB / 0.8008 GB, free: 13.82 MB / 0.7605 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008017/0.03718, allocations: 257.5 kB / 0.801 GB, free: 13.57 MB / 0.7605 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008757/0.03806, allocations: 338.5 kB / 0.8014 GB, free: 13.21 MB / 0.7605 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001325/0.03938, allocations: 399.5 kB / 0.8018 GB, free: 12.82 MB / 0.7605 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.745e-06/0.03938, allocations: 4 kB / 0.8018 GB, free: 12.81 MB / 0.7605 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.00197/0.04135, allocations: 0.6938 MB / 0.8024 GB, free: 12.1 MB / 0.7605 GB Notification: Performance of prepare postOptimizeDAE: time 7.321e-05/0.04143, allocations: 37.69 kB / 0.8025 GB, free: 12.06 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.067e-06/0.04144, allocations: 4 kB / 0.8025 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.04146, allocations: 0 / 0.8025 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005282/0.04199, allocations: 75.86 kB / 0.8025 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.155e-05/0.042, allocations: 3.984 kB / 0.8026 GB, free: 11.98 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000415/0.04241, allocations: 47.75 kB / 0.8026 GB, free: 11.93 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.327e-05/0.04248, allocations: 23.97 kB / 0.8026 GB, free: 11.91 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.0002906/0.04278, allocations: 192.6 kB / 0.8028 GB, free: 11.71 MB / 0.7605 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000122/0.0429, allocations: 47.72 kB / 0.8028 GB, free: 11.66 MB / 0.7605 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001012/0.043, allocations: 48 kB / 0.8029 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.043, allocations: 0 / 0.8029 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.04301, allocations: 0 / 0.8029 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.696e-06/0.04301, allocations: 4 kB / 0.8029 GB, free: 11.61 MB / 0.7605 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006994/0.04371, allocations: 443.9 kB / 0.8033 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.04371, allocations: 4 kB / 0.8033 GB, free: 11.14 MB / 0.7605 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004802/0.04419, allocations: 67.88 kB / 0.8034 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.444e-06/0.0442, allocations: 4 kB / 0.8034 GB, free: 11.07 MB / 0.7605 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002551/0.04445, allocations: 11.97 kB / 0.8034 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.633e-06/0.04445, allocations: 0 / 0.8034 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.653e-06/0.04445, allocations: 0 / 0.8034 GB, free: 11.05 MB / 0.7605 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001558/0.04601, allocations: 483.7 kB / 0.8039 GB, free: 10.56 MB / 0.7605 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000319/0.04633, allocations: 111.6 kB / 0.804 GB, free: 10.45 MB / 0.7605 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.349e-05/0.04641, allocations: 8 kB / 0.804 GB, free: 10.44 MB / 0.7605 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004108/0.04683, allocations: 27.97 kB / 0.804 GB, free: 10.41 MB / 0.7605 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000111/0.04694, allocations: 31.95 kB / 0.804 GB, free: 10.38 MB / 0.7605 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.49e-05/0.04698, allocations: 15.98 kB / 0.8041 GB, free: 10.37 MB / 0.7605 GB Notification: Performance of sorting global known variables: time 0.0005158/0.0475, allocations: 379 kB / 0.8044 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of sort global known variables: time 6e-08/0.0475, allocations: 0 / 0.8044 GB, free: 9.996 MB / 0.7605 GB Notification: Performance of remove unused functions: time 0.0004529/0.04795, allocations: 103.9 kB / 0.8045 GB, free: 9.895 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.0003649/0.04832, allocations: 131.2 kB / 0.8046 GB, free: 9.758 MB / 0.7605 GB Notification: Performance of simCode: created initialization part: time 0.001715/0.05003, allocations: 0.5366 MB / 0.8052 GB, free: 9.199 MB / 0.7605 GB Notification: Performance of simCode: created event and clocks part: time 5.861e-06/0.05004, allocations: 4 kB / 0.8052 GB, free: 9.195 MB / 0.7605 GB Notification: Performance of simCode: created simulation system equations: time 0.0007242/0.05076, allocations: 213.7 kB / 0.8054 GB, free: 8.984 MB / 0.7605 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005693/0.05133, allocations: 125.7 kB / 0.8055 GB, free: 8.859 MB / 0.7605 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002104/0.05343, allocations: 0.7696 MB / 0.8062 GB, free: 8.055 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003033/0.05374, allocations: 236.9 kB / 0.8065 GB, free: 7.801 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.0004482/0.05418, allocations: 114.9 kB / 0.8066 GB, free: 7.688 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001897/0.05437, allocations: 40.47 kB / 0.8066 GB, free: 7.648 MB / 0.7605 GB Notification: Performance of SimCode: time 1.203e-06/0.05438, allocations: 4 kB / 0.8066 GB, free: 7.645 MB / 0.7605 GB Notification: Performance of Templates: time 0.01911/0.07349, allocations: 9.318 MB / 0.8157 GB, free: 14.46 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.032167759956792]