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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001412/0.001412, allocations: 107 kB / 16.36 MB, free: 6.285 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.00162/0.00162, allocations: 192.5 kB / 17.29 MB, free: 5.863 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.424/1.424, allocations: 222.9 MB / 241 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.517/2.517, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001519/0.00152, allocations: 60.78 kB / 0.8707 GB, free: 1.465 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3595/0.3611, allocations: 151.7 MB / 1.019 GB, free: 9.871 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004307/0.3654, allocations: 2.894 MB / 1.022 GB, free: 6.957 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.003121/0.3686, allocations: 2.22 MB / 1.024 GB, free: 4.723 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001088/0.3687, allocations: 4 kB / 1.024 GB, free: 4.719 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 0.0007348/0.3694, allocations: 266.5 kB / 1.024 GB, free: 4.457 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001596/0.3696, allocations: 79.22 kB / 1.024 GB, free: 4.379 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.001103/0.3707, allocations: 490.5 kB / 1.025 GB, free: 3.906 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0005416/0.3713, allocations: 0.5025 MB / 1.025 GB, free: 3.402 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001299/0.3714, allocations: 64.64 kB / 1.025 GB, free: 3.336 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001949/0.3716, allocations: 199.4 kB / 1.025 GB, free: 3.141 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002533/0.3719, allocations: 207.3 kB / 1.026 GB, free: 2.938 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 6.271e-05/0.3719, allocations: 36 kB / 1.026 GB, free: 2.902 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003914/0.3723, allocations: 255.7 kB / 1.026 GB, free: 2.652 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.3725, allocations: 159.6 kB / 1.026 GB, free: 2.496 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.000222/0.3728, allocations: 214.9 kB / 1.026 GB, free: 2.285 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0007751/0.3736, allocations: 0.7516 MB / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.631e-06/0.3736, allocations: 0 / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.873e-06/0.3736, allocations: 0 / 1.027 GB, free: 1.531 MB / 0.795 GB Notification: Performance of Transformations before backend: time 7.935e-06/0.3736, allocations: 0 / 1.027 GB, free: 1.531 MB / 0.795 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.001435/0.375, allocations: 0.8399 MB / 1.028 GB, free: 0.6289 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.016e-05/0.3751, allocations: 12.58 kB / 1.028 GB, free: 0.6172 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002032/0.3771, allocations: 232.2 kB / 1.028 GB, free: 400 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006039/0.3777, allocations: 430 kB / 1.028 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001251/0.3779, allocations: 75.95 kB / 1.028 GB, free: 15.84 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.868e-05/0.3779, allocations: 12.38 kB / 1.028 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.3791, allocations: 0.5409 MB / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.826e-06/0.3791, allocations: 0 / 1.029 GB, free: 15.28 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.648e-05/0.3792, allocations: 7.938 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.428e-06/0.3792, allocations: 4 kB / 1.029 GB, free: 15.27 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001959/0.3812, allocations: 0.7611 MB / 1.03 GB, free: 14.51 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002366/0.3835, allocations: 1.253 MB / 1.031 GB, free: 13.21 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005101/0.3887, allocations: 1.013 MB / 1.032 GB, free: 12.18 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009203/0.3896, allocations: 396.9 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.618e-05/0.3896, allocations: 3.984 kB / 1.032 GB, free: 11.79 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001178/0.3908, allocations: 0.5428 MB / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=21): time 2.725e-06/0.3908, allocations: 0 / 1.033 GB, free: 11.23 MB / 0.8106 GB Notification: Performance of matching and sorting (n=21): time 0.00304/0.3939, allocations: 1.178 MB / 1.034 GB, free: 10.05 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.394, allocations: 63.39 kB / 1.034 GB, free: 9.977 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000638/0.3946, allocations: 0.5175 MB / 1.035 GB, free: 9.453 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.153e-05/0.3947, allocations: 33.7 kB / 1.035 GB, free: 9.414 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001718/0.3948, allocations: 192.5 kB / 1.035 GB, free: 9.223 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 8.251e-05/0.3949, allocations: 67.02 kB / 1.035 GB, free: 9.156 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001524/0.3951, allocations: 65.66 kB / 1.035 GB, free: 9.086 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001607/0.3953, allocations: 358.8 kB / 1.035 GB, free: 8.727 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001023/0.3963, allocations: 472.5 kB / 1.036 GB, free: 8.262 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00104/0.3973, allocations: 0.4934 MB / 1.036 GB, free: 7.762 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001729/0.3991, allocations: 0.7544 MB / 1.037 GB, free: 7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.3991, allocations: 0 / 1.037 GB, free: 7 MB / 0.8106 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002314/0.4014, allocations: 1.072 MB / 1.038 GB, free: 5.914 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 5.217e-05/0.4015, allocations: 41.69 kB / 1.038 GB, free: 5.867 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.564e-06/0.4015, allocations: 4 kB / 1.038 GB, free: 5.863 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4015, allocations: 3.938 kB / 1.038 GB, free: 5.859 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005811/0.4021, allocations: 91.83 kB / 1.038 GB, free: 5.77 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.4021, allocations: 4 kB / 1.038 GB, free: 5.766 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000537/0.4027, allocations: 63.77 kB / 1.038 GB, free: 5.703 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.904e-05/0.4027, allocations: 11.98 kB / 1.038 GB, free: 5.691 MB / 0.8106 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.0003499/0.4031, allocations: 222 kB / 1.038 GB, free: 5.469 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001334/0.4032, allocations: 43.44 kB / 1.038 GB, free: 5.426 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001152/0.4034, allocations: 59.84 kB / 1.038 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.4034, allocations: 0 / 1.038 GB, free: 5.367 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.165e-06/0.4034, allocations: 3.984 kB / 1.038 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.898e-06/0.4034, allocations: 0 / 1.038 GB, free: 5.363 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007397/0.4041, allocations: 0.6416 MB / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.206e-06/0.4042, allocations: 0 / 1.039 GB, free: 4.672 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005897/0.4047, allocations: 91.89 kB / 1.039 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.957e-06/0.4048, allocations: 0 / 1.039 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.479e-05/0.4048, allocations: 19.91 kB / 1.039 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.055e-06/0.4048, allocations: 0 / 1.039 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.907e-06/0.4048, allocations: 4 kB / 1.039 GB, free: 4.559 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00201/0.4068, allocations: 0.8398 MB / 1.04 GB, free: 3.699 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003251/0.4072, allocations: 188.5 kB / 1.04 GB, free: 3.496 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.801e-05/0.4073, allocations: 7.938 kB / 1.04 GB, free: 3.488 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005423/0.4078, allocations: 63.86 kB / 1.04 GB, free: 3.426 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.815e-05/0.4079, allocations: 27.97 kB / 1.04 GB, free: 3.398 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.762e-05/0.408, allocations: 15.97 kB / 1.04 GB, free: 3.383 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0005053/0.4085, allocations: 387.1 kB / 1.041 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1e-07/0.4085, allocations: 0 / 1.041 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0004923/0.409, allocations: 96 kB / 1.041 GB, free: 2.91 MB / 0.8106 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.000343/0.4094, allocations: 150.5 kB / 1.041 GB, free: 2.754 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.002217/0.4116, allocations: 0.9406 MB / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.4116, allocations: 0 / 1.042 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0009992/0.4126, allocations: 420.8 kB / 1.042 GB, free: 1.391 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005243/0.4131, allocations: 93.83 kB / 1.042 GB, free: 1.301 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.4156, allocations: 1.055 MB / 1.043 GB, free: 228 kB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004755/0.4161, allocations: 0.8542 MB / 1.044 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.0004429/0.4165, allocations: 134.9 kB / 1.044 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001921/0.4167, allocations: 39.41 kB / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of SimCode: time 1.253e-06/0.4167, allocations: 0 / 1.044 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of Templates: time 0.01773/0.4345, allocations: 8.77 MB / 1.053 GB, free: 6.5 MB / 0.8262 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 -s gbode -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/jenkins1/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