Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_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_11_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.001565/0.001565, allocations: 117.9 kB / 16.81 MB, free: 5.758 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.001702/0.001702, allocations: 192.7 kB / 17.77 MB, free: 5.133 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.525/1.525, allocations: 225.6 MB / 244.2 MB, free: 13.9 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.905/2.905, allocations: 476.7 MB / 0.7556 GB, free: 11.32 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 73.05 kB / 1.097 GB, free: 11.75 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3738, allocations: 168.7 MB / 1.262 GB, free: 12.91 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled): time 0.004623/0.3784, allocations: 2.893 MB / 1.265 GB, free: 10 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.003551/0.382, allocations: 2.239 MB / 1.267 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000133/0.3821, allocations: 4 kB / 1.267 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008318/0.383, allocations: 266.5 kB / 1.267 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001668/0.3831, allocations: 75.27 kB / 1.267 GB, free: 7.414 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.001273/0.3844, allocations: 495 kB / 1.268 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0006382/0.385, allocations: 0.518 MB / 1.268 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001814/0.3852, allocations: 36.73 kB / 1.268 GB, free: 6.379 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002352/0.3855, allocations: 203.4 kB / 1.269 GB, free: 6.18 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002887/0.3857, allocations: 215.3 kB / 1.269 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.000122/0.3859, allocations: 40 kB / 1.269 GB, free: 5.93 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004541/0.3863, allocations: 251.7 kB / 1.269 GB, free: 5.684 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0001935/0.3865, allocations: 159.5 kB / 1.269 GB, free: 5.527 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.0002562/0.3868, allocations: 207 kB / 1.269 GB, free: 5.324 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0009501/0.3877, allocations: 0.7629 MB / 1.27 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.527e-06/0.3877, allocations: 0 / 1.27 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.232e-06/0.3877, allocations: 4 kB / 1.27 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.153e-06/0.3877, allocations: 0 / 1.27 GB, free: 4.555 MB / 0.9825 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.001479/0.3892, allocations: 0.8474 MB / 1.271 GB, free: 3.645 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.019e-05/0.3893, allocations: 8.031 kB / 1.271 GB, free: 3.637 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002154/0.3914, allocations: 244.3 kB / 1.271 GB, free: 3.398 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006431/0.3921, allocations: 422.4 kB / 1.272 GB, free: 2.953 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001248/0.3922, allocations: 83.94 kB / 1.272 GB, free: 2.859 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.352e-05/0.3922, allocations: 8.375 kB / 1.272 GB, free: 2.852 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001394/0.3936, allocations: 0.5364 MB / 1.272 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.225e-05/0.3936, allocations: 0 / 1.272 GB, free: 2.309 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.419e-05/0.3937, allocations: 4 kB / 1.272 GB, free: 2.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.765e-06/0.3937, allocations: 4 kB / 1.272 GB, free: 2.301 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002242/0.3959, allocations: 0.765 MB / 1.273 GB, free: 1.535 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002516/0.3984, allocations: 1.269 MB / 1.274 GB, free: 220 kB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005383/0.4038, allocations: 1.002 MB / 1.275 GB, free: 15.2 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001034/0.4049, allocations: 384.6 kB / 1.276 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 2.835e-05/0.4049, allocations: 4 kB / 1.276 GB, free: 14.82 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001382/0.4063, allocations: 0.5329 MB / 1.276 GB, free: 14.28 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=21): time 2.835e-06/0.4063, allocations: 11.94 kB / 1.276 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=21): time 0.003411/0.4097, allocations: 1.18 MB / 1.277 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.788e-05/0.4097, allocations: 51.41 kB / 1.277 GB, free: 13.02 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007955/0.4105, allocations: 0.5213 MB / 1.278 GB, free: 12.48 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.605e-05/0.4106, allocations: 33.7 kB / 1.278 GB, free: 12.45 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001954/0.4108, allocations: 200.5 kB / 1.278 GB, free: 12.24 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 9.353e-05/0.4109, allocations: 71.42 kB / 1.278 GB, free: 12.17 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001707/0.4111, allocations: 73.59 kB / 1.278 GB, free: 12.09 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001914/0.4113, allocations: 354.8 kB / 1.279 GB, free: 11.74 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001174/0.4124, allocations: 464.5 kB / 1.279 GB, free: 11.28 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001203/0.4137, allocations: 0.4934 MB / 1.28 GB, free: 10.78 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002214/0.4159, allocations: 0.7549 MB / 1.28 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-06/0.4159, allocations: 0 / 1.28 GB, free: 10.02 MB / 0.9981 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.002646/0.4185, allocations: 1.084 MB / 1.281 GB, free: 8.922 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 6.142e-05/0.4186, allocations: 39.56 kB / 1.281 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.603e-06/0.4186, allocations: 0 / 1.281 GB, free: 8.879 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.09e-05/0.4186, allocations: 3.938 kB / 1.281 GB, free: 8.875 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006332/0.4192, allocations: 91.89 kB / 1.281 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.895e-06/0.4192, allocations: 0 / 1.281 GB, free: 8.785 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005705/0.4198, allocations: 71.81 kB / 1.281 GB, free: 8.715 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.602e-05/0.4199, allocations: 11.98 kB / 1.282 GB, free: 8.703 MB / 0.9981 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.0003489/0.4202, allocations: 221 kB / 1.282 GB, free: 8.484 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001013/0.4203, allocations: 47.72 kB / 1.282 GB, free: 8.438 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.726e-05/0.4204, allocations: 47.91 kB / 1.282 GB, free: 8.391 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.16e-06/0.4204, allocations: 7.938 kB / 1.282 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.4204, allocations: 0 / 1.282 GB, free: 8.383 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002639/0.4207, allocations: 188.7 kB / 1.282 GB, free: 8.18 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.32e-05/0.4208, allocations: 12 kB / 1.282 GB, free: 8.168 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005785/0.4213, allocations: 63.92 kB / 1.282 GB, free: 8.105 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.653e-05/0.4214, allocations: 23.95 kB / 1.282 GB, free: 8.082 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002699/0.4241, allocations: 0.9181 MB / 1.283 GB, free: 7.156 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00233/0.4265, allocations: 0.9887 MB / 1.284 GB, free: 6.152 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001056/0.4275, allocations: 391.7 kB / 1.284 GB, free: 5.77 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0004883/0.428, allocations: 387.1 kB / 1.285 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of Backend: time 5.01e-07/0.428, allocations: 0 / 1.285 GB, free: 5.391 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.001978/0.43, allocations: 0.6785 MB / 1.285 GB, free: 4.695 MB / 0.9981 GB Notification: Performance of SimCode: time 0.001554/0.4315, allocations: 1.188 MB / 1.287 GB, free: 3.461 MB / 0.9981 GB Notification: Performance of Templates: time 0.01947/0.451, allocations: 11.04 MB / 1.297 GB, free: 8.5 MB / 1.014 GB make -j1 -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.makefile (rm -f Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; mkfifo Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe >> ../files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.sim & ./Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_CoolingCapacityWaterCooled.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.CoolingCapacityWaterCooled.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches