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.001064/0.001064, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001406/0.00247, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001066/0.001066, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001301/0.002368, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.053/1.053, allocations: 177.2 MB / 189.6 MB, free: 5.316 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1331/1.186, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.664/2.664, allocations: 446.7 MB / 0.6745 GB, free: 6.203 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3193/2.983, allocations: 145.9 MB / 0.817 GB, free: 4.203 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.[0-9,]+.|cooCap.EIR.[0-9,]+.",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.[0-9,]+.|cooCap.EIR.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.254e-06/2.254e-06, allocations: 0 / 0.8183 GB, free: 2.871 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.789e-05/2.015e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.867 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003214/0.003235, allocations: 2.946 MB / 0.8212 GB, free: 15.9 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.00257/0.005805, allocations: 2.254 MB / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001042/0.005909, allocations: 0 / 0.8234 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.000484/0.006393, allocations: 246.5 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 0.0001151/0.006508, allocations: 75.17 kB / 0.8237 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007851/0.007293, allocations: 478.8 kB / 0.8242 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0004356/0.007729, allocations: 0.5361 MB / 0.8247 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 9.637e-05/0.007825, allocations: 30.89 kB / 0.8247 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002749/0.0081, allocations: 340.5 kB / 0.825 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001767/0.008277, allocations: 183.6 kB / 0.8252 GB, free: 11.77 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 4.607e-05/0.008323, allocations: 36 kB / 0.8253 GB, free: 11.73 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003339/0.008657, allocations: 275.5 kB / 0.8255 GB, free: 11.46 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 0.0001172/0.008774, allocations: 139.6 kB / 0.8256 GB, free: 11.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 9.707e-05/0.008871, allocations: 99.75 kB / 0.8257 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0005221/0.009393, allocations: 466.6 kB / 0.8262 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.399e-05/0.009407, allocations: 0 / 0.8262 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of FrontEnd: time 1.362e-06/0.009409, allocations: 0 / 0.8262 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.563e-05/0.009424, allocations: 0 / 0.8262 GB, free: 10.77 MB / 0.8073 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.0008772/0.0103, allocations: 0.7899 MB / 0.827 GB, free: 9.941 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.468e-05/0.01034, allocations: 8.625 kB / 0.827 GB, free: 9.934 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00101/0.01135, allocations: 317.6 kB / 0.8273 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002984/0.01164, allocations: 283.8 kB / 0.8275 GB, free: 9.301 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.468e-05/0.01174, allocations: 135.3 kB / 0.8277 GB, free: 9.145 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.665e-05/0.01178, allocations: 12.38 kB / 0.8277 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003893/0.01217, allocations: 241.4 kB / 0.8279 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.01217, allocations: 192 / 0.8279 GB, free: 8.887 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.759e-05/0.0122, allocations: 8.125 kB / 0.8279 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.955e-06/0.01221, allocations: 8 kB / 0.8279 GB, free: 8.871 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001768/0.01239, allocations: 82.06 kB / 0.828 GB, free: 8.793 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000875/0.01326, allocations: 0.517 MB / 0.8285 GB, free: 8.258 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/0.01461, allocations: 483.8 kB / 0.829 GB, free: 7.773 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.928e-05/0.01471, allocations: 60.2 kB / 0.829 GB, free: 7.715 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.852e-05/0.01473, allocations: 4 kB / 0.829 GB, free: 7.711 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002385/0.01497, allocations: 180.3 kB / 0.8292 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=21): time 1.553e-06/0.01497, allocations: 0 / 0.8292 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of matching and sorting (n=21): time 0.0005792/0.01555, allocations: 197.5 kB / 0.8294 GB, free: 7.324 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.717e-05/0.01559, allocations: 63.39 kB / 0.8295 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002118/0.0158, allocations: 363.6 kB / 0.8298 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 4.153e-05/0.01584, allocations: 33.7 kB / 0.8298 GB, free: 6.848 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.387e-05/0.0159, allocations: 145.7 kB / 0.83 GB, free: 6.703 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 5.579e-05/0.01596, allocations: 67.42 kB / 0.83 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.954e-05/0.01606, allocations: 65.61 kB / 0.8301 GB, free: 6.566 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 9.499e-05/0.01615, allocations: 354.7 kB / 0.8304 GB, free: 6.211 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.0163, allocations: 112.5 kB / 0.8305 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001665/0.01646, allocations: 183.3 kB / 0.8307 GB, free: 5.898 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002114/0.01668, allocations: 183.1 kB / 0.8309 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.01668, allocations: 0 / 0.8309 GB, free: 5.711 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0003258/0.017, allocations: 307.6 kB / 0.8312 GB, free: 5.391 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 4.172e-05/0.01705, allocations: 41.69 kB / 0.8312 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/0.01705, allocations: 0 / 0.8312 GB, free: 5.344 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.588e-06/0.01706, allocations: 3.938 kB / 0.8312 GB, free: 5.34 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002928/0.01735, allocations: 87.88 kB / 0.8313 GB, free: 5.254 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.246e-06/0.01736, allocations: 4 kB / 0.8313 GB, free: 5.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00017/0.01753, allocations: 43.86 kB / 0.8314 GB, free: 5.207 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.205e-05/0.01756, allocations: 11.97 kB / 0.8314 GB, free: 5.195 MB / 0.8073 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.0001233/0.01768, allocations: 124.6 kB / 0.8315 GB, free: 5.062 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.304e-05/0.01774, allocations: 43.89 kB / 0.8315 GB, free: 5.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.769e-05/0.01778, allocations: 36.02 kB / 0.8316 GB, free: 4.98 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.01779, allocations: 8 kB / 0.8316 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.675e-06/0.01779, allocations: 0 / 0.8316 GB, free: 4.973 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.997e-06/0.01779, allocations: 3.938 kB / 0.8316 GB, free: 4.969 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002319/0.01802, allocations: 249.6 kB / 0.8318 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.01803, allocations: 0 / 0.8318 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002533/0.01828, allocations: 83.88 kB / 0.8319 GB, free: 4.625 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001089/0.01839, allocations: 79.58 kB / 0.832 GB, free: 4.547 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.158e-06/0.01839, allocations: 11.92 kB / 0.832 GB, free: 4.535 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.558e-05/0.01842, allocations: 11.98 kB / 0.832 GB, free: 4.523 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01842, allocations: 3.938 kB / 0.832 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.01842, allocations: 0 / 0.832 GB, free: 4.52 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.01869, allocations: 186.6 kB / 0.8322 GB, free: 4.316 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.498e-05/0.01873, allocations: 15.98 kB / 0.8322 GB, free: 4.301 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001727/0.01891, allocations: 35.97 kB / 0.8322 GB, free: 4.266 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.67e-05/0.01896, allocations: 27.89 kB / 0.8323 GB, free: 4.238 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.248e-05/0.01899, allocations: 11.98 kB / 0.8323 GB, free: 4.227 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 0.0001131/0.0191, allocations: 160.7 kB / 0.8324 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of sort global known variables: time 6e-08/0.0191, allocations: 0 / 0.8324 GB, free: 4.07 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002204/0.01932, allocations: 99.92 kB / 0.8325 GB, free: 3.973 MB / 0.8073 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.0001808/0.0195, allocations: 120.3 kB / 0.8326 GB, free: 3.844 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003459/0.01985, allocations: 270 kB / 0.8329 GB, free: 3.562 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 8.335e-06/0.01985, allocations: 4 kB / 0.8329 GB, free: 3.559 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001267/0.01998, allocations: 92.66 kB / 0.833 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002756/0.02026, allocations: 145.7 kB / 0.8331 GB, free: 3.32 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002929/0.02319, allocations: 0.7286 MB / 0.8338 GB, free: 2.562 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.056e-05/0.02327, allocations: 129.1 kB / 0.834 GB, free: 2.418 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 0.0002583/0.02352, allocations: 94.95 kB / 0.834 GB, free: 2.324 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003007/0.02383, allocations: 153.2 kB / 0.8342 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of SimCode: time 1.232e-06/0.02383, allocations: 0 / 0.8342 GB, free: 2.176 MB / 0.8073 GB Notification: Performance of Templates: time 0.01207/0.0359, allocations: 10.68 MB / 0.8446 GB, free: 7.699 MB / 0.823 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 -ignoreHideResult -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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.ref.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.921303893439472]