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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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=5000,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=5000,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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000793/0.0007929, allocations: 97.64 kB / 15.36 MB, free: 0.7305 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001066, allocations: 172.7 kB / 16.27 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.451/1.451, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.881/2.881, allocations: 462.7 MB / 0.7364 GB, free: 240 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.000507/0.0005071, allocations: 9.906 kB / 0.9028 GB, free: 36.68 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4007/0.4012, allocations: 159.6 MB / 1.059 GB, free: 5.418 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.003563/0.4048, allocations: 2.569 MB / 1.061 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003472/0.4083, allocations: 2.185 MB / 1.063 GB, free: 0.6367 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001879/0.4086, allocations: 4 kB / 1.063 GB, free: 0.6328 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0009117/0.4095, allocations: 259 kB / 1.064 GB, free: 388 kB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0002147/0.4097, allocations: 63.42 kB / 1.064 GB, free: 324 kB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.00125/0.411, allocations: 444.4 kB / 1.064 GB, free: 15.89 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.000591/0.4116, allocations: 490.5 kB / 1.065 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001385/0.4117, allocations: 48.67 kB / 1.065 GB, free: 15.36 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002113/0.4119, allocations: 183.5 kB / 1.065 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002678/0.4122, allocations: 203.3 kB / 1.065 GB, free: 14.98 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.689e-05/0.4123, allocations: 20 kB / 1.065 GB, free: 14.96 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004185/0.4127, allocations: 223.7 kB / 1.065 GB, free: 14.75 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 0.0001855/0.4129, allocations: 143.6 kB / 1.065 GB, free: 14.61 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0002412/0.4131, allocations: 236.5 kB / 1.066 GB, free: 14.37 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0007675/0.4139, allocations: 0.7087 MB / 1.066 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.513e-06/0.4139, allocations: 8 kB / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.974e-06/0.4139, allocations: 0 / 1.066 GB, free: 13.65 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.907e-06/0.414, allocations: 4 kB / 1.066 GB, free: 13.64 MB / 0.8262 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.001372/0.4153, allocations: 0.7662 MB / 1.067 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.626e-05/0.4154, allocations: 12.03 kB / 1.067 GB, free: 12.8 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002184/0.4176, allocations: 244.1 kB / 1.067 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000654/0.4183, allocations: 426 kB / 1.068 GB, free: 12.11 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001429/0.4184, allocations: 83.94 kB / 1.068 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.548e-05/0.4185, allocations: 12.38 kB / 1.068 GB, free: 12.01 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001406/0.4199, allocations: 0.5614 MB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.997e-06/0.4199, allocations: 0 / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.423e-05/0.42, allocations: 4 kB / 1.068 GB, free: 11.44 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.057e-06/0.42, allocations: 4 kB / 1.068 GB, free: 11.43 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002201/0.4222, allocations: 0.808 MB / 1.069 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002436/0.4246, allocations: 1.284 MB / 1.07 GB, free: 9.289 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005479/0.4301, allocations: 1.084 MB / 1.071 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001089/0.4313, allocations: 436.6 kB / 1.072 GB, free: 7.766 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 3.135e-05/0.4313, allocations: 3.938 kB / 1.072 GB, free: 7.762 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001303/0.4326, allocations: 0.5575 MB / 1.072 GB, free: 7.191 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=21): time 2.395e-06/0.4326, allocations: 3.938 kB / 1.072 GB, free: 7.188 MB / 0.8262 GB Notification: Performance of matching and sorting (n=21): time 0.003453/0.4361, allocations: 1.264 MB / 1.074 GB, free: 5.918 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.908e-05/0.4361, allocations: 55.41 kB / 1.074 GB, free: 5.852 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006817/0.4368, allocations: 0.5175 MB / 1.074 GB, free: 5.328 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 7.718e-05/0.4369, allocations: 37.64 kB / 1.074 GB, free: 5.285 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001778/0.4371, allocations: 204.4 kB / 1.074 GB, free: 5.082 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.886e-05/0.4372, allocations: 67.09 kB / 1.074 GB, free: 5.016 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.598e-05/0.4373, allocations: 21.72 kB / 1.074 GB, free: 4.988 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001574/0.4374, allocations: 358.8 kB / 1.075 GB, free: 4.629 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001158/0.4386, allocations: 496.5 kB / 1.075 GB, free: 4.141 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001177/0.4398, allocations: 0.5197 MB / 1.076 GB, free: 3.617 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002036/0.4418, allocations: 0.8104 MB / 1.077 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.4418, allocations: 0 / 1.077 GB, free: 2.797 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002599/0.4445, allocations: 1.135 MB / 1.078 GB, free: 1.652 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 5.996e-05/0.4445, allocations: 41.69 kB / 1.078 GB, free: 1.605 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.317e-06/0.4445, allocations: 3.984 kB / 1.078 GB, free: 1.602 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.815e-05/0.4446, allocations: 7.938 kB / 1.078 GB, free: 1.594 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006283/0.4452, allocations: 107.9 kB / 1.078 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.696e-06/0.4452, allocations: 0 / 1.078 GB, free: 1.488 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005758/0.4458, allocations: 71.88 kB / 1.078 GB, free: 1.418 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.207e-05/0.4459, allocations: 11.98 kB / 1.078 GB, free: 1.406 MB / 0.8262 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.0003965/0.4463, allocations: 218.9 kB / 1.078 GB, free: 1.184 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.395e-05/0.4464, allocations: 47.42 kB / 1.078 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.31e-05/0.4465, allocations: 55.86 kB / 1.078 GB, free: 1.078 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.981e-06/0.4465, allocations: 3.938 kB / 1.078 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.366e-06/0.4465, allocations: 0 / 1.078 GB, free: 1.074 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.89e-06/0.4465, allocations: 4 kB / 1.078 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006961/0.4472, allocations: 0.6416 MB / 1.079 GB, free: 388 kB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.549e-06/0.4472, allocations: 7.984 kB / 1.079 GB, free: 380 kB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005967/0.4478, allocations: 99.89 kB / 1.079 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.11e-06/0.4478, allocations: 0 / 1.079 GB, free: 280 kB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.515e-05/0.4479, allocations: 23.86 kB / 1.079 GB, free: 256 kB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.4479, allocations: 4 kB / 1.079 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.4479, allocations: 0 / 1.079 GB, free: 252 kB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002216/0.4501, allocations: 0.8808 MB / 1.08 GB, free: 15.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002415/0.4504, allocations: 188.5 kB / 1.08 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.156e-05/0.4504, allocations: 15.94 kB / 1.08 GB, free: 15.12 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005681/0.451, allocations: 75.92 kB / 1.08 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.693e-05/0.4511, allocations: 27.95 kB / 1.08 GB, free: 15.02 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.762e-05/0.4512, allocations: 15.98 kB / 1.08 GB, free: 15.01 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0004778/0.4516, allocations: 383.1 kB / 1.081 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/0.4517, allocations: 0 / 1.081 GB, free: 14.63 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004636/0.4521, allocations: 103.9 kB / 1.081 GB, free: 14.53 MB / 0.8419 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.0003076/0.4524, allocations: 143 kB / 1.081 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.002403/0.4549, allocations: 0.9985 MB / 1.082 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.915e-06/0.4549, allocations: 0 / 1.082 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.00113/0.456, allocations: 453.7 kB / 1.082 GB, free: 12.93 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005895/0.4566, allocations: 88.09 kB / 1.082 GB, free: 12.85 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002623/0.4592, allocations: 1.181 MB / 1.083 GB, free: 11.64 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004732/0.4597, allocations: 0.8547 MB / 1.084 GB, free: 10.76 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 0.0005647/0.4603, allocations: 130.9 kB / 1.084 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001833/0.4605, allocations: 35.41 kB / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of SimCode: time 1.593e-06/0.4605, allocations: 0 / 1.084 GB, free: 10.6 MB / 0.8419 GB Notification: Performance of Templates: time 0.01575/0.4763, allocations: 8.173 MB / 1.092 GB, free: 2.539 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) 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) Reference file matches