Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|tow.TAir|tow.vol.heatPort.Q_flow|tow.m_flow|onOffCon.u|onOffCon.reference",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 113.5 kB / 16.42 MB, free: 6.449 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.002056/0.002056, allocations: 185.7 kB / 17.35 MB, free: 5.738 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.369/1.369, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.203/2.203, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001442/0.001443, allocations: 71.88 kB / 0.9516 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8133/0.8147, allocations: 140.4 MB / 1.089 GB, free: 5.516 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.09501/0.9098, allocations: 89.78 MB / 1.176 GB, free: 5.141 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1854/1.095, allocations: 165.2 MB / 1.338 GB, free: 14.49 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004528/1.1, allocations: 95.5 kB / 1.338 GB, free: 14.4 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.004517/1.104, allocations: 1.277 MB / 1.339 GB, free: 13.11 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01106/1.115, allocations: 3.297 MB / 1.342 GB, free: 9.805 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.008632/1.124, allocations: 3.01 MB / 1.345 GB, free: 6.816 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009758/1.134, allocations: 6.648 MB / 1.352 GB, free: 148 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00494/1.139, allocations: 2.807 MB / 1.354 GB, free: 13.26 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006174/1.145, allocations: 2.536 MB / 1.357 GB, free: 10.73 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003334/1.148, allocations: 1.939 MB / 1.359 GB, free: 8.781 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.001065/1.15, allocations: 296 kB / 1.359 GB, free: 8.492 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005383/1.155, allocations: 2.2 MB / 1.361 GB, free: 6.289 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001251/1.156, allocations: 0.8293 MB / 1.362 GB, free: 5.457 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002841/1.159, allocations: 1.617 MB / 1.364 GB, free: 3.832 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.008881/1.168, allocations: 5.047 MB / 1.369 GB, free: 14.77 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/1.168, allocations: 0 / 1.369 GB, free: 14.77 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.304e-06/1.168, allocations: 7.938 kB / 1.369 GB, free: 14.76 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001363/1.168, allocations: 0 / 1.369 GB, free: 14.76 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.008604/1.177, allocations: 3.575 MB / 1.372 GB, free: 11.11 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.83e-05/1.177, allocations: 8.031 kB / 1.372 GB, free: 11.1 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003398/1.18, allocations: 0.5699 MB / 1.373 GB, free: 10.53 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005901/1.186, allocations: 2.363 MB / 1.375 GB, free: 8.09 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001834/1.186, allocations: 171.9 kB / 1.375 GB, free: 7.922 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006192/1.187, allocations: 200 kB / 1.375 GB, free: 7.727 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005308/1.192, allocations: 2.233 MB / 1.377 GB, free: 5.406 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.039e-05/1.192, allocations: 7.938 kB / 1.377 GB, free: 5.398 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003152/1.193, allocations: 87.94 kB / 1.378 GB, free: 5.312 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.706e-05/1.193, allocations: 79.81 kB / 1.378 GB, free: 5.234 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004324/1.197, allocations: 2.111 MB / 1.38 GB, free: 3.121 MB / 1.107 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01546/1.213, allocations: 8.647 MB / 1.388 GB, free: 10.12 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003223/1.216, allocations: 1.448 MB / 1.39 GB, free: 8.668 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001378/1.217, allocations: 0.6652 MB / 1.39 GB, free: 8 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00789/1.225, allocations: 3.591 MB / 1.394 GB, free: 4.195 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001929/1.227, allocations: 0.8605 MB / 1.395 GB, free: 3.316 MB / 1.123 GB Notification: Performance of pre-optimization done (n=141): time 4.128e-06/1.227, allocations: 0 / 1.395 GB, free: 3.316 MB / 1.123 GB Notification: Performance of matching and sorting (n=141): time 0.005664/1.233, allocations: 2.118 MB / 1.397 GB, free: 1.168 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.366e-05/1.233, allocations: 197.2 kB / 1.397 GB, free: 0.9336 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004228/1.237, allocations: 2.003 MB / 1.399 GB, free: 14.91 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002724/1.238, allocations: 61.7 kB / 1.399 GB, free: 14.84 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001395/1.239, allocations: 1.164 MB / 1.4 GB, free: 13.66 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005674/1.24, allocations: 469.2 kB / 1.4 GB, free: 13.2 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006082/1.24, allocations: 355.2 kB / 1.401 GB, free: 12.84 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001211/1.24, allocations: 305.1 kB / 1.401 GB, free: 12.54 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001293/1.242, allocations: 0.5904 MB / 1.402 GB, free: 11.95 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001677/1.243, allocations: 1.004 MB / 1.403 GB, free: 10.79 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002889/1.246, allocations: 1.578 MB / 1.404 GB, free: 9.074 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-05/1.246, allocations: 4 kB / 1.404 GB, free: 9.07 MB / 1.139 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.004933/1.251, allocations: 1.971 MB / 1.406 GB, free: 7.086 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.721e-05/1.251, allocations: 8 kB / 1.406 GB, free: 7.078 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.16e-05/1.251, allocations: 12 kB / 1.406 GB, free: 7.066 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006562/1.252, allocations: 93.5 kB / 1.406 GB, free: 6.973 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001602/1.253, allocations: 403.4 kB / 1.407 GB, free: 6.578 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002229/1.256, allocations: 1.652 MB / 1.408 GB, free: 4.785 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00227/1.258, allocations: 222.7 kB / 1.408 GB, free: 4.566 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003034/1.258, allocations: 95.89 kB / 1.408 GB, free: 4.473 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00235/1.261, allocations: 0.9997 MB / 1.409 GB, free: 3.469 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001656/1.262, allocations: 0.9804 MB / 1.41 GB, free: 2.324 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002872/1.265, allocations: 1.531 MB / 1.412 GB, free: 0.6562 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.15e-05/1.265, allocations: 4 kB / 1.412 GB, free: 0.6523 MB / 1.139 GB Notification: Performance of matching and sorting (n=215) (initialization_lambda0): time 0.004813/1.27, allocations: 1.913 MB / 1.414 GB, free: 14.72 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 2.002e-05/1.27, allocations: 12 kB / 1.414 GB, free: 14.71 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.716e-05/1.27, allocations: 12.03 kB / 1.414 GB, free: 14.7 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005769/1.271, allocations: 96.7 kB / 1.414 GB, free: 14.6 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001563/1.272, allocations: 399.3 kB / 1.414 GB, free: 14.21 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002079/1.274, allocations: 1.646 MB / 1.416 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00208/1.277, allocations: 189.9 kB / 1.416 GB, free: 12.23 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002163/1.277, allocations: 79.97 kB / 1.416 GB, free: 12.16 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * Number of states: 0 () * Number of discrete variables: 19 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,onOffCon.y,$PRE.onOffCon.y,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (212): * Single equations (assignments): 210 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0006/1.277, allocations: 297.4 kB / 1.416 GB, free: 11.86 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000861/1.278, allocations: 237.1 kB / 1.417 GB, free: 11.62 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004841/1.283, allocations: 2.028 MB / 1.419 GB, free: 9.605 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003166/1.286, allocations: 1.675 MB / 1.42 GB, free: 7.863 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.272e-06/1.286, allocations: 0 / 1.42 GB, free: 7.863 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.288, allocations: 0.5132 MB / 1.421 GB, free: 7.328 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005478/1.288, allocations: 28 kB / 1.421 GB, free: 7.301 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001673/1.29, allocations: 119.8 kB / 1.421 GB, free: 7.184 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002809/1.29, allocations: 117.1 kB / 1.421 GB, free: 7.07 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004341/1.294, allocations: 1.776 MB / 1.423 GB, free: 5.281 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005109/1.3, allocations: 2.674 MB / 1.425 GB, free: 2.586 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001253/1.301, allocations: 0.7136 MB / 1.426 GB, free: 1.875 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002396/1.303, allocations: 1.347 MB / 1.427 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of Backend: time 3.31e-07/1.303, allocations: 0 / 1.427 GB, free: 0.5156 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00878/1.312, allocations: 3.351 MB / 1.431 GB, free: 13.38 MB / 1.17 GB Notification: Performance of SimCode: time 0.01068/1.323, allocations: 5.47 MB / 1.436 GB, free: 7.895 MB / 1.17 GB Notification: Performance of Templates: time 0.09521/1.418, allocations: 58.39 MB / 1.493 GB, free: 14.11 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches