Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.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.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb,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_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001535/0.001535, allocations: 116.4 kB / 16.42 MB, free: 6.496 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.001734/0.001734, allocations: 186.6 kB / 17.35 MB, free: 5.762 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.375/1.375, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.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.508/2.508, allocations: 437 MB / 0.7112 GB, free: 4.371 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001504/0.001504, allocations: 67.89 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8731/0.8746, allocations: 151.6 MB / 1.167 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.09655/0.9712, allocations: 90.73 MB / 1.256 GB, free: 8.73 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1901/1.161, allocations: 167.1 MB / 1.419 GB, free: 1.062 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003771/1.165, allocations: 103.4 kB / 1.419 GB, free: 0.9609 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.007078/1.172, allocations: 2.095 MB / 1.421 GB, free: 14.86 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.01091/1.183, allocations: 3.5 MB / 1.425 GB, free: 11.35 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.00915/1.192, allocations: 3.096 MB / 1.428 GB, free: 8.27 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01739/1.21, allocations: 9.652 MB / 1.437 GB, free: 14.59 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.006235/1.216, allocations: 2.826 MB / 1.44 GB, free: 11.69 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006409/1.222, allocations: 2.537 MB / 1.442 GB, free: 9.148 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00378/1.226, allocations: 2.027 MB / 1.444 GB, free: 7.113 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001234/1.228, allocations: 308 kB / 1.445 GB, free: 6.812 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006155/1.234, allocations: 2.367 MB / 1.447 GB, free: 4.441 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001661/1.235, allocations: 0.9695 MB / 1.448 GB, free: 3.469 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.003681/1.239, allocations: 1.823 MB / 1.45 GB, free: 1.637 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01122/1.25, allocations: 5.682 MB / 1.455 GB, free: 11.93 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 6.061e-06/1.25, allocations: 0 / 1.455 GB, free: 11.93 MB / 1.186 GB Notification: Performance of FrontEnd: time 2.114e-06/1.25, allocations: 0 / 1.455 GB, free: 11.93 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.0001846/1.251, allocations: 3.938 kB / 1.455 GB, free: 11.93 MB / 1.186 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 514 * Number of variables: 514 Notification: Performance of Generate backend data structure: time 0.01102/1.262, allocations: 4.028 MB / 1.459 GB, free: 7.812 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.613e-05/1.262, allocations: 12.86 kB / 1.459 GB, free: 7.801 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003686/1.265, allocations: 0.6046 MB / 1.46 GB, free: 7.191 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007613/1.273, allocations: 3.396 MB / 1.463 GB, free: 3.723 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001781/1.273, allocations: 160 kB / 1.463 GB, free: 3.562 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005955/1.274, allocations: 212 kB / 1.463 GB, free: 3.355 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005734/1.28, allocations: 2.242 MB / 1.466 GB, free: 0.9727 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.405e-05/1.28, allocations: 11.94 kB / 1.466 GB, free: 0.9609 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003864/1.28, allocations: 84 kB / 1.466 GB, free: 0.8789 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.733e-05/1.28, allocations: 83.81 kB / 1.466 GB, free: 0.7969 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004717/1.285, allocations: 2.099 MB / 1.468 GB, free: 14.7 MB / 1.201 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.01615/1.301, allocations: 9.219 MB / 1.477 GB, free: 5.055 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003074/1.304, allocations: 1.42 MB / 1.478 GB, free: 3.633 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001373/1.306, allocations: 0.6573 MB / 1.479 GB, free: 2.969 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.007211/1.313, allocations: 3.634 MB / 1.482 GB, free: 15.12 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001749/1.315, allocations: 0.8373 MB / 1.483 GB, free: 14.27 MB / 1.217 GB Notification: Performance of pre-optimization done (n=140): time 4.448e-06/1.315, allocations: 0 / 1.483 GB, free: 14.27 MB / 1.217 GB Notification: Performance of matching and sorting (n=140): time 0.006074/1.321, allocations: 2.121 MB / 1.485 GB, free: 12.11 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001255/1.321, allocations: 201.2 kB / 1.485 GB, free: 11.88 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005416/1.326, allocations: 2.596 MB / 1.488 GB, free: 9.262 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.000266/1.327, allocations: 53.7 kB / 1.488 GB, free: 9.203 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.001646/1.328, allocations: 1.291 MB / 1.489 GB, free: 7.898 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006195/1.329, allocations: 485.2 kB / 1.49 GB, free: 7.418 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0008557/1.33, allocations: 459.5 kB / 1.49 GB, free: 6.961 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 9.721e-05/1.33, allocations: 313.1 kB / 1.491 GB, free: 6.652 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001565/1.331, allocations: 0.755 MB / 1.491 GB, free: 5.895 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001994/1.333, allocations: 1.232 MB / 1.492 GB, free: 4.484 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003304/1.337, allocations: 1.886 MB / 1.494 GB, free: 2.457 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.259e-05/1.337, allocations: 4 kB / 1.494 GB, free: 2.453 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.005345/1.342, allocations: 2.435 MB / 1.497 GB, free: 4 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.89e-05/1.342, allocations: 8.047 kB / 1.497 GB, free: 15.99 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.82e-05/1.342, allocations: 12 kB / 1.497 GB, free: 15.98 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006311/1.343, allocations: 105.1 kB / 1.497 GB, free: 15.88 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001757/1.345, allocations: 447.3 kB / 1.497 GB, free: 15.44 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002235/1.347, allocations: 1.666 MB / 1.499 GB, free: 13.63 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/1.349, allocations: 272 kB / 1.499 GB, free: 13.36 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002799/1.35, allocations: 95.95 kB / 1.499 GB, free: 13.27 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002597/1.352, allocations: 1.293 MB / 1.5 GB, free: 11.97 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001899/1.354, allocations: 1.218 MB / 1.502 GB, free: 10.58 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00319/1.357, allocations: 1.87 MB / 1.503 GB, free: 8.555 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.06e-05/1.357, allocations: 4 kB / 1.503 GB, free: 8.551 MB / 1.232 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.005041/1.363, allocations: 2.406 MB / 1.506 GB, free: 6.133 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.852e-05/1.363, allocations: 8 kB / 1.506 GB, free: 6.125 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.718e-05/1.363, allocations: 12 kB / 1.506 GB, free: 6.113 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000581/1.363, allocations: 101.4 kB / 1.506 GB, free: 6.012 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001678/1.365, allocations: 447.3 kB / 1.506 GB, free: 5.574 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002206/1.367, allocations: 1.651 MB / 1.508 GB, free: 3.781 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002396/1.37, allocations: 215.1 kB / 1.508 GB, free: 3.57 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002275/1.37, allocations: 91.95 kB / 1.508 GB, free: 3.48 MB / 1.232 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 49 * 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 (246): * Single equations (assignments): 243 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 1 * 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.0006708/1.37, allocations: 301.5 kB / 1.509 GB, free: 3.18 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001007/1.371, allocations: 280.5 kB / 1.509 GB, free: 2.902 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00505/1.377, allocations: 2.008 MB / 1.511 GB, free: 0.9023 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003499/1.38, allocations: 1.651 MB / 1.512 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.236e-06/1.38, allocations: 0 / 1.512 GB, free: 15.18 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001915/1.382, allocations: 0.5712 MB / 1.513 GB, free: 14.58 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0009073/1.383, allocations: 32 kB / 1.513 GB, free: 14.55 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002117/1.385, allocations: 115.8 kB / 1.513 GB, free: 14.44 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002811/1.385, allocations: 121.1 kB / 1.513 GB, free: 14.32 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004843/1.39, allocations: 1.737 MB / 1.515 GB, free: 12.57 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00557/1.396, allocations: 2.688 MB / 1.518 GB, free: 9.859 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001437/1.397, allocations: 0.698 MB / 1.518 GB, free: 9.164 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.003776/1.401, allocations: 1.735 MB / 1.52 GB, free: 7.43 MB / 1.248 GB Notification: Performance of Backend: time 6.31e-07/1.401, allocations: 0 / 1.52 GB, free: 7.43 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.01168/1.413, allocations: 3.983 MB / 1.524 GB, free: 3.594 MB / 1.248 GB Notification: Performance of SimCode: time 0.01285/1.426, allocations: 6.259 MB / 1.53 GB, free: 13.32 MB / 1.264 GB Notification: Performance of Templates: time 0.6631/2.089, allocations: 67.09 MB / 1.595 GB, free: 357.9 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches