Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001175/0.001175, allocations: 109.4 kB / 16.42 MB, free: 5.953 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.001193/0.001194, allocations: 188.3 kB / 17.35 MB, free: 5.582 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.472/1.472, allocations: 222.9 MB / 241 MB, free: 15.1 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 3.16/3.16, allocations: 461.9 MB / 0.7354 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002369/0.002369, allocations: 71.78 kB / 1.055 GB, free: 7.688 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.134/1.136, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.1324/1.269, allocations: 90.71 MB / 1.297 GB, free: 2.598 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.2846/1.553, allocations: 167.1 MB / 1.46 GB, free: 10.93 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006939/1.56, allocations: 99.5 kB / 1.46 GB, free: 10.82 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.01014/1.57, allocations: 2.077 MB / 1.462 GB, free: 8.742 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01757/1.588, allocations: 3.374 MB / 1.466 GB, free: 5.355 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.01212/1.6, allocations: 3.071 MB / 1.469 GB, free: 2.305 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.02407/1.624, allocations: 9.66 MB / 1.478 GB, free: 8.625 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.009264/1.634, allocations: 2.814 MB / 1.481 GB, free: 5.734 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01082/1.645, allocations: 2.538 MB / 1.483 GB, free: 3.195 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005773/1.65, allocations: 2.034 MB / 1.485 GB, free: 1.152 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001842/1.652, allocations: 304 kB / 1.486 GB, free: 0.8555 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00935/1.662, allocations: 2.371 MB / 1.488 GB, free: 14.48 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002813/1.664, allocations: 0.9656 MB / 1.489 GB, free: 13.51 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.006014/1.67, allocations: 1.823 MB / 1.491 GB, free: 11.68 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01882/1.689, allocations: 5.678 MB / 1.496 GB, free: 5.984 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.371e-06/1.689, allocations: 0 / 1.496 GB, free: 5.984 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.703e-06/1.689, allocations: 0 / 1.496 GB, free: 5.984 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.000279/1.69, allocations: 0 / 1.496 GB, free: 5.984 MB / 1.217 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.01766/1.707, allocations: 4.025 MB / 1.5 GB, free: 1.867 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 6.222e-05/1.707, allocations: 15.95 kB / 1.5 GB, free: 1.852 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006136/1.714, allocations: 0.6046 MB / 1.501 GB, free: 1.242 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01207/1.726, allocations: 3.406 MB / 1.504 GB, free: 13.77 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002791/1.726, allocations: 152 kB / 1.504 GB, free: 13.61 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0009027/1.727, allocations: 212 kB / 1.504 GB, free: 13.41 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009537/1.737, allocations: 2.249 MB / 1.507 GB, free: 11.02 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001064/1.737, allocations: 7.938 kB / 1.507 GB, free: 11.01 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0005942/1.737, allocations: 84 kB / 1.507 GB, free: 10.93 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001324/1.737, allocations: 75.83 kB / 1.507 GB, free: 10.85 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.007244/1.745, allocations: 2.103 MB / 1.509 GB, free: 8.746 MB / 1.232 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.02733/1.772, allocations: 9.215 MB / 1.518 GB, free: 15.11 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005352/1.778, allocations: 1.42 MB / 1.519 GB, free: 13.69 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002392/1.78, allocations: 0.6535 MB / 1.52 GB, free: 13.03 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.01189/1.792, allocations: 3.638 MB / 1.523 GB, free: 9.176 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002878/1.795, allocations: 0.8295 MB / 1.524 GB, free: 8.328 MB / 1.248 GB Notification: Performance of pre-optimization done (n=140): time 8.646e-06/1.795, allocations: 0 / 1.524 GB, free: 8.328 MB / 1.248 GB Notification: Performance of matching and sorting (n=140): time 0.008901/1.804, allocations: 2.125 MB / 1.526 GB, free: 6.172 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001435/1.804, allocations: 197.2 kB / 1.526 GB, free: 5.938 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.008236/1.812, allocations: 2.6 MB / 1.529 GB, free: 3.32 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0005515/1.813, allocations: 57.7 kB / 1.529 GB, free: 3.258 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.002032/1.815, allocations: 1.291 MB / 1.53 GB, free: 1.953 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.001037/1.816, allocations: 481.2 kB / 1.531 GB, free: 1.477 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001625/1.818, allocations: 467.5 kB / 1.531 GB, free: 1.016 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0003046/1.818, allocations: 309 kB / 1.531 GB, free: 0.7109 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002813/1.821, allocations: 0.7512 MB / 1.532 GB, free: 15.95 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003513/1.824, allocations: 1.232 MB / 1.533 GB, free: 14.54 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00553/1.83, allocations: 1.89 MB / 1.535 GB, free: 12.51 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.848e-05/1.83, allocations: 4 kB / 1.535 GB, free: 12.5 MB / 1.264 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.009467/1.839, allocations: 2.431 MB / 1.538 GB, free: 10.06 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 5.219e-05/1.839, allocations: 8 kB / 1.538 GB, free: 10.05 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.997e-05/1.839, allocations: 15.98 kB / 1.538 GB, free: 10.04 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009902/1.84, allocations: 105.3 kB / 1.538 GB, free: 9.934 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002857/1.843, allocations: 451.3 kB / 1.538 GB, free: 9.492 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003631/1.847, allocations: 1.654 MB / 1.54 GB, free: 7.691 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004412/1.851, allocations: 267.7 kB / 1.54 GB, free: 7.43 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004876/1.852, allocations: 95.97 kB / 1.54 GB, free: 7.336 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.004885/1.857, allocations: 1.293 MB / 1.541 GB, free: 6.035 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.003412/1.86, allocations: 1.216 MB / 1.543 GB, free: 4.645 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00554/1.866, allocations: 1.877 MB / 1.544 GB, free: 2.617 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.457e-05/1.866, allocations: 8 kB / 1.544 GB, free: 2.609 MB / 1.264 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.009687/1.876, allocations: 2.402 MB / 1.547 GB, free: 200 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 3.616e-05/1.876, allocations: 12 kB / 1.547 GB, free: 188 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-05/1.876, allocations: 8 kB / 1.547 GB, free: 180 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008868/1.877, allocations: 101.5 kB / 1.547 GB, free: 76 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002905/1.88, allocations: 443.3 kB / 1.547 GB, free: 15.64 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003148/1.883, allocations: 1.654 MB / 1.549 GB, free: 13.84 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003865/1.887, allocations: 222.5 kB / 1.549 GB, free: 13.62 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005024/1.887, allocations: 87.97 kB / 1.549 GB, free: 13.53 MB / 1.279 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.000997/1.888, allocations: 305.4 kB / 1.549 GB, free: 13.23 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001522/1.89, allocations: 280.5 kB / 1.55 GB, free: 12.95 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00847/1.898, allocations: 2.006 MB / 1.552 GB, free: 10.95 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005554/1.904, allocations: 1.655 MB / 1.553 GB, free: 9.223 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.165e-05/1.904, allocations: 4 kB / 1.553 GB, free: 9.219 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.002707/1.907, allocations: 0.5595 MB / 1.554 GB, free: 8.637 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.001591/1.908, allocations: 32 kB / 1.554 GB, free: 8.605 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00348/1.912, allocations: 119.8 kB / 1.554 GB, free: 8.488 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0004813/1.912, allocations: 117.1 kB / 1.554 GB, free: 8.375 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007284/1.92, allocations: 1.748 MB / 1.556 GB, free: 6.617 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.008895/1.929, allocations: 2.681 MB / 1.558 GB, free: 3.906 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002225/1.931, allocations: 0.7019 MB / 1.559 GB, free: 3.211 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.006365/1.937, allocations: 1.735 MB / 1.561 GB, free: 1.477 MB / 1.279 GB Notification: Performance of Backend: time 1.193e-06/1.937, allocations: 0 / 1.561 GB, free: 1.477 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 1.068/3.005, allocations: 3.98 MB / 1.565 GB, free: 346.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.02169/3.027, allocations: 6.249 MB / 1.571 GB, free: 343.2 MB / 1.279 GB Notification: Performance of Templates: time 0.17/3.197, allocations: 68.34 MB / 1.638 GB, free: 289.4 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches