Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_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_10_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.001269/0.001269, allocations: 108.6 kB / 15.73 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001637/0.001637, allocations: 188.2 kB / 16.66 MB, free: 6.59 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.517/1.517, allocations: 222.9 MB / 240.3 MB, free: 4.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.828/2.828, allocations: 437 MB / 0.7105 GB, free: 5.102 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 63.89 kB / 1.019 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3089/0.3101, allocations: 151.6 MB / 1.167 GB, free: 6.855 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004247/0.3144, allocations: 2.878 MB / 1.169 GB, free: 3.957 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.003403/0.3178, allocations: 2.22 MB / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001257/0.318, allocations: 0 / 1.172 GB, free: 1.723 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 0.000754/0.3187, allocations: 270.5 kB / 1.172 GB, free: 1.457 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0001442/0.3189, allocations: 71.3 kB / 1.172 GB, free: 1.387 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.001153/0.3201, allocations: 494.2 kB / 1.172 GB, free: 0.9102 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0006624/0.3208, allocations: 0.5142 MB / 1.173 GB, free: 404 kB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001613/0.3209, allocations: 48.73 kB / 1.173 GB, free: 352 kB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001973/0.3211, allocations: 207.4 kB / 1.173 GB, free: 144 kB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002661/0.3214, allocations: 211.2 kB / 1.173 GB, free: 15.93 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 7.87e-05/0.3215, allocations: 36 kB / 1.173 GB, free: 15.9 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004411/0.3219, allocations: 255.7 kB / 1.174 GB, free: 15.65 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.000166/0.3221, allocations: 155.6 kB / 1.174 GB, free: 15.5 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0001984/0.3223, allocations: 214.9 kB / 1.174 GB, free: 15.29 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0007942/0.3231, allocations: 0.7591 MB / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.3231, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.703e-06/0.3231, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 8.516e-06/0.3232, allocations: 0 / 1.175 GB, free: 14.52 MB / 0.9356 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.001351/0.3245, allocations: 0.8551 MB / 1.176 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.796e-05/0.3246, allocations: 11.98 kB / 1.176 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002062/0.3266, allocations: 232.4 kB / 1.176 GB, free: 13.37 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005347/0.3272, allocations: 434.3 kB / 1.176 GB, free: 12.9 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001165/0.3273, allocations: 83.94 kB / 1.176 GB, free: 12.81 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.593e-05/0.3274, allocations: 12.36 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001301/0.3287, allocations: 0.5308 MB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.3287, allocations: 4 kB / 1.177 GB, free: 12.26 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.786e-05/0.3287, allocations: 4 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.3287, allocations: 4 kB / 1.177 GB, free: 12.25 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002175/0.3309, allocations: 0.7533 MB / 1.178 GB, free: 11.5 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002185/0.3331, allocations: 1.269 MB / 1.179 GB, free: 10.18 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005173/0.3383, allocations: 1.021 MB / 1.18 GB, free: 9.145 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001002/0.3393, allocations: 400.5 kB / 1.18 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.159e-05/0.3394, allocations: 4 kB / 1.18 GB, free: 8.746 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001243/0.3406, allocations: 0.534 MB / 1.181 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=21): time 3.467e-06/0.3406, allocations: 0 / 1.181 GB, free: 8.199 MB / 0.9356 GB Notification: Performance of matching and sorting (n=21): time 0.003342/0.344, allocations: 1.179 MB / 1.182 GB, free: 7.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.484e-05/0.3441, allocations: 63.34 kB / 1.182 GB, free: 6.941 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005801/0.3446, allocations: 0.5135 MB / 1.182 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 5.506e-05/0.3447, allocations: 33.7 kB / 1.182 GB, free: 6.383 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001707/0.3449, allocations: 200.5 kB / 1.183 GB, free: 6.184 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 8.31e-05/0.345, allocations: 75.41 kB / 1.183 GB, free: 6.109 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001675/0.3451, allocations: 61.67 kB / 1.183 GB, free: 6.043 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001553/0.3453, allocations: 362.8 kB / 1.183 GB, free: 5.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00111/0.3464, allocations: 464.5 kB / 1.184 GB, free: 5.223 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001144/0.3476, allocations: 0.4952 MB / 1.184 GB, free: 4.723 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001936/0.3495, allocations: 0.7528 MB / 1.185 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.474e-06/0.3495, allocations: 0 / 1.185 GB, free: 3.961 MB / 0.9356 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002589/0.3521, allocations: 1.078 MB / 1.186 GB, free: 2.871 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.97e-05/0.3522, allocations: 41.69 kB / 1.186 GB, free: 2.824 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3522, allocations: 4 kB / 1.186 GB, free: 2.82 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.773e-05/0.3522, allocations: 7.938 kB / 1.186 GB, free: 2.812 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005866/0.3528, allocations: 83.88 kB / 1.186 GB, free: 2.73 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.05e-05/0.3528, allocations: 11.98 kB / 1.186 GB, free: 2.719 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005079/0.3534, allocations: 59.83 kB / 1.186 GB, free: 2.66 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.378e-05/0.3534, allocations: 15.98 kB / 1.186 GB, free: 2.645 MB / 0.9356 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.0002712/0.3537, allocations: 220 kB / 1.186 GB, free: 2.422 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.363e-05/0.3538, allocations: 47.7 kB / 1.186 GB, free: 2.375 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.319e-05/0.3539, allocations: 51.86 kB / 1.186 GB, free: 2.32 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3539, allocations: 4 kB / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.763e-06/0.3539, allocations: 0 / 1.186 GB, free: 2.316 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3539, allocations: 3.938 kB / 1.186 GB, free: 2.312 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006752/0.3546, allocations: 0.6338 MB / 1.187 GB, free: 1.629 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.156e-06/0.3546, allocations: 3.984 kB / 1.187 GB, free: 1.625 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005843/0.3552, allocations: 95.83 kB / 1.187 GB, free: 1.531 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.244e-06/0.3552, allocations: 4 kB / 1.187 GB, free: 1.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.377e-05/0.3553, allocations: 15.92 kB / 1.187 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.003e-06/0.3553, allocations: 0 / 1.187 GB, free: 1.512 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.412e-06/0.3553, allocations: 4 kB / 1.187 GB, free: 1.508 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002139/0.3574, allocations: 0.8361 MB / 1.188 GB, free: 0.6523 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002257/0.3577, allocations: 188.7 kB / 1.188 GB, free: 460 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.052e-05/0.3578, allocations: 11.94 kB / 1.188 GB, free: 448 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005378/0.3583, allocations: 63.92 kB / 1.188 GB, free: 384 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001052/0.3584, allocations: 23.95 kB / 1.188 GB, free: 360 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.3585, allocations: 15.98 kB / 1.188 GB, free: 344 kB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0004232/0.3589, allocations: 387.1 kB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of sort global known variables: time 2.21e-07/0.3589, allocations: 3.938 kB / 1.189 GB, free: 15.96 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0004052/0.3593, allocations: 103.9 kB / 1.189 GB, free: 15.86 MB / 0.9512 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.0002837/0.3596, allocations: 143.1 kB / 1.189 GB, free: 15.71 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002279/0.3619, allocations: 0.9421 MB / 1.19 GB, free: 14.76 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.3619, allocations: 4 kB / 1.19 GB, free: 14.75 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.00104/0.3629, allocations: 415.6 kB / 1.19 GB, free: 14.35 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004958/0.3635, allocations: 89.84 kB / 1.19 GB, free: 14.26 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002237/0.3657, allocations: 1.056 MB / 1.191 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006204/0.3663, allocations: 0.858 MB / 1.192 GB, free: 12.29 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.0005203/0.3669, allocations: 134.8 kB / 1.192 GB, free: 12.15 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001764/0.367, allocations: 43.41 kB / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of SimCode: time 2.4e-07/0.3671, allocations: 0 / 1.192 GB, free: 12.11 MB / 0.9512 GB Notification: Performance of Templates: time 0.0151/0.3822, allocations: 8.832 MB / 1.201 GB, free: 3.375 MB / 0.9512 GB make -j1 -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches