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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001867/0.001867, allocations: 113 kB / 17.6 MB, free: 4.785 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002203/0.002203, allocations: 186.8 kB / 20.78 MB, free: 1.617 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.612/1.612, allocations: 225.6 MB / 249.4 MB, free: 3.305 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.924/2.924, allocations: 496.2 MB / 0.7819 GB, free: 12.29 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002285/0.002285, allocations: 68.08 kB / 1.136 GB, free: 12.43 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.331/1.333, allocations: 173.7 MB / 1.305 GB, free: 33.42 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003356/1.337, allocations: 2.93 MB / 1.308 GB, free: 31.37 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.0025/1.339, allocations: 2.239 MB / 1.311 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/1.339, allocations: 2.875 kB / 1.311 GB, free: 29.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0006535/1.34, allocations: 258.8 kB / 1.311 GB, free: 29.67 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000128/1.34, allocations: 81.22 kB / 1.311 GB, free: 29.61 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009789/1.341, allocations: 492.9 kB / 1.311 GB, free: 29.38 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004418/1.342, allocations: 0.5121 MB / 1.312 GB, free: 29.16 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/1.342, allocations: 35.67 kB / 1.312 GB, free: 29.13 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001567/1.342, allocations: 198 kB / 1.312 GB, free: 29.06 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000203/1.342, allocations: 221 kB / 1.312 GB, free: 28.96 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.716e-05/1.342, allocations: 34.84 kB / 1.312 GB, free: 28.96 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003477/1.342, allocations: 259.7 kB / 1.313 GB, free: 28.89 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001383/1.343, allocations: 163.7 kB / 1.313 GB, free: 28.82 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001453/1.343, allocations: 219.7 kB / 1.313 GB, free: 28.68 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0006225/1.343, allocations: 0.7489 MB / 1.314 GB, free: 28.45 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.54e-06/1.343, allocations: 4 kB / 1.314 GB, free: 28.45 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.793e-06/1.343, allocations: 0 / 1.314 GB, free: 28.45 MB / 1.061 GB Notification: Performance of Transformations before backend: time 7.894e-06/1.343, allocations: 0 / 1.314 GB, free: 28.45 MB / 1.061 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.001221/1.345, allocations: 0.8522 MB / 1.314 GB, free: 27.78 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.593e-05/1.345, allocations: 14.55 kB / 1.314 GB, free: 27.77 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002042/1.347, allocations: 235.3 kB / 1.315 GB, free: 27.73 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004551/1.347, allocations: 430.6 kB / 1.315 GB, free: 27.41 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001017/1.347, allocations: 81.91 kB / 1.315 GB, free: 27.34 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.327e-05/1.347, allocations: 15.56 kB / 1.315 GB, free: 27.34 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001092/1.348, allocations: 0.5333 MB / 1.316 GB, free: 27.17 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/1.348, allocations: 4 kB / 1.316 GB, free: 27.17 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.003e-05/1.348, allocations: 7.188 kB / 1.316 GB, free: 27.16 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.682e-06/1.348, allocations: 2.812 kB / 1.316 GB, free: 27.16 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001749/1.35, allocations: 0.7612 MB / 1.316 GB, free: 26.98 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00192/1.352, allocations: 1.259 MB / 1.318 GB, free: 26.38 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00519/1.357, allocations: 0.9993 MB / 1.319 GB, free: 26.16 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008706/1.358, allocations: 390.8 kB / 1.319 GB, free: 26.05 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 3.089e-05/1.358, allocations: 6.703 kB / 1.319 GB, free: 26.05 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001142/1.359, allocations: 0.5258 MB / 1.32 GB, free: 25.88 MB / 1.061 GB Notification: Performance of pre-optimization done (n=21): time 2.765e-06/1.359, allocations: 2.5 kB / 1.32 GB, free: 25.88 MB / 1.061 GB Notification: Performance of matching and sorting (n=21): time 0.002916/1.362, allocations: 1.184 MB / 1.321 GB, free: 25.54 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.958e-05/1.362, allocations: 57.66 kB / 1.321 GB, free: 25.47 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005625/1.363, allocations: 0.5185 MB / 1.321 GB, free: 25.24 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.195e-05/1.363, allocations: 34.86 kB / 1.321 GB, free: 25.2 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001461/1.363, allocations: 198.6 kB / 1.322 GB, free: 25.04 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 7.027e-05/1.363, allocations: 72.73 kB / 1.322 GB, free: 24.98 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001587/1.363, allocations: 63.34 kB / 1.322 GB, free: 24.96 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001024/1.363, allocations: 360.4 kB / 1.322 GB, free: 24.62 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009768/1.364, allocations: 467.4 kB / 1.322 GB, free: 24.5 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001155/1.365, allocations: 499.5 kB / 1.323 GB, free: 24.36 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002106/1.368, allocations: 0.7589 MB / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.086e-06/1.368, allocations: 0 / 1.324 GB, free: 24.13 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002651/1.37, allocations: 1.082 MB / 1.325 GB, free: 23.79 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 5.847e-05/1.37, allocations: 38.61 kB / 1.325 GB, free: 23.76 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.877e-06/1.37, allocations: 5.5 kB / 1.325 GB, free: 23.75 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.235e-05/1.37, allocations: 5.375 kB / 1.325 GB, free: 23.75 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005923/1.371, allocations: 87.7 kB / 1.325 GB, free: 23.75 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.195e-06/1.371, allocations: 5.375 kB / 1.325 GB, free: 23.74 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005185/1.371, allocations: 57.23 kB / 1.325 GB, free: 23.73 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.951e-05/1.371, allocations: 14.91 kB / 1.325 GB, free: 23.73 MB / 1.061 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 (cooCap.checkBoundsTCon[1],$PRE.cooCap.checkBoundsTCon[1],cooCap.checkBoundsTEva[1],$PRE.cooCap.checkBoundsTEva[1],cooCap.stage,$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.0003444/1.372, allocations: 218.3 kB / 1.325 GB, free: 23.58 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.992e-05/1.372, allocations: 44.03 kB / 1.325 GB, free: 23.55 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.958e-05/1.372, allocations: 55.95 kB / 1.325 GB, free: 23.52 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.74e-06/1.372, allocations: 2.656 kB / 1.325 GB, free: 23.52 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.374e-06/1.372, allocations: 3.938 kB / 1.325 GB, free: 23.52 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.99e-06/1.372, allocations: 1.062 kB / 1.325 GB, free: 23.52 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006889/1.373, allocations: 0.6483 MB / 1.326 GB, free: 23.16 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.314e-06/1.373, allocations: 0 / 1.326 GB, free: 23.16 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005893/1.373, allocations: 93.67 kB / 1.326 GB, free: 23.15 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.373, allocations: 0 / 1.326 GB, free: 23.15 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.676e-05/1.373, allocations: 15.31 kB / 1.326 GB, free: 23.14 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.495e-06/1.373, allocations: 1.344 kB / 1.326 GB, free: 23.14 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/1.373, allocations: 4 kB / 1.326 GB, free: 23.14 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002198/1.376, allocations: 0.8373 MB / 1.327 GB, free: 22.86 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002701/1.376, allocations: 188.5 kB / 1.327 GB, free: 22.71 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.663e-05/1.376, allocations: 12.95 kB / 1.327 GB, free: 22.7 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005851/1.376, allocations: 67.7 kB / 1.327 GB, free: 22.69 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000124/1.377, allocations: 26.12 kB / 1.327 GB, free: 22.68 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.416e-05/1.377, allocations: 12.31 kB / 1.327 GB, free: 22.68 MB / 1.061 GB Notification: Performance of sorting global known variables: time 0.0006779/1.377, allocations: 389.9 kB / 1.327 GB, free: 22.51 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/1.377, allocations: 0 / 1.327 GB, free: 22.51 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0005437/1.378, allocations: 101.6 kB / 1.328 GB, free: 22.5 MB / 1.061 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.stage,cooCap.checkBoundsTEva[1],cooCap.checkBoundsTCon[1]) * Number of discrete states: 3 (cooCap.stage,cooCap.checkBoundsTEva[cooCap.stage],cooCap.checkBoundsTCon[cooCap.stage]) * 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.0003595/1.378, allocations: 139.5 kB / 1.328 GB, free: 22.39 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.002476/1.381, allocations: 0.925 MB / 1.329 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 3.216e-06/1.381, allocations: 5.188 kB / 1.329 GB, free: 22.11 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001042/1.382, allocations: 405.3 kB / 1.329 GB, free: 22.01 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005044/1.382, allocations: 100.5 kB / 1.329 GB, free: 21.96 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002448/1.385, allocations: 1.085 MB / 1.33 GB, free: 21.49 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003303/1.385, allocations: 0.8573 MB / 1.331 GB, free: 20.77 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 0.000491/1.386, allocations: 130.8 kB / 1.331 GB, free: 20.73 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001834/1.386, allocations: 43.56 kB / 1.331 GB, free: 20.71 MB / 1.061 GB Notification: Performance of SimCode: time 1.172e-06/1.386, allocations: 0 / 1.331 GB, free: 20.71 MB / 1.061 GB Notification: Performance of Templates: time 0.01881/1.405, allocations: 8.915 MB / 1.34 GB, free: 20.05 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) [Timeout 400] 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: 10.184622037224472]