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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.001514/0.001514, allocations: 118.9 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.001626/0.001626, allocations: 183.9 kB / 17.34 MB, free: 5.758 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.353/1.353, allocations: 222.9 MB / 241 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.751/2.751, allocations: 472.7 MB / 0.746 GB, free: 476 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001489/0.00149, allocations: 71.88 kB / 1.07 GB, free: 9.523 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.77, allocations: 159.9 MB / 1.226 GB, free: 13.48 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.1078/0.8779, allocations: 90.7 MB / 1.315 GB, free: 2.469 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.213/1.091, allocations: 167.1 MB / 1.478 GB, free: 10.8 MB / 1.201 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005751/1.097, allocations: 107.4 kB / 1.478 GB, free: 10.69 MB / 1.201 GB Notification: Performance of NFTyping.typeComponents: time 0.007422/1.104, allocations: 2.106 MB / 1.48 GB, free: 8.578 MB / 1.201 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/1.117, allocations: 3.51 MB / 1.484 GB, free: 5.055 MB / 1.201 GB Notification: Performance of NFTyping.typeClassSections: time 0.009818/1.127, allocations: 3.09 MB / 1.487 GB, free: 1.984 MB / 1.201 GB Notification: Performance of NFFlatten.flatten: time 0.01627/1.143, allocations: 9.652 MB / 1.496 GB, free: 8.309 MB / 1.217 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00614/1.149, allocations: 2.814 MB / 1.499 GB, free: 5.418 MB / 1.217 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006994/1.156, allocations: 2.535 MB / 1.501 GB, free: 2.883 MB / 1.217 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004053/1.16, allocations: 2.035 MB / 1.503 GB, free: 0.8398 MB / 1.217 GB Notification: Performance of NFPackage.collectConstants: time 0.001239/1.161, allocations: 308 kB / 1.504 GB, free: 0.5391 MB / 1.217 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006494/1.168, allocations: 2.379 MB / 1.506 GB, free: 14.16 MB / 1.232 GB Notification: Performance of NFScalarize.scalarize: time 0.001708/1.17, allocations: 0.9618 MB / 1.507 GB, free: 13.19 MB / 1.232 GB Notification: Performance of NFVerifyModel.verify: time 0.003437/1.173, allocations: 1.823 MB / 1.509 GB, free: 11.36 MB / 1.232 GB Notification: Performance of NFConvertDAE.convert: time 0.012/1.185, allocations: 5.698 MB / 1.514 GB, free: 5.641 MB / 1.232 GB Notification: Performance of FrontEnd - DAE generated: time 7.614e-06/1.185, allocations: 4 kB / 1.514 GB, free: 5.637 MB / 1.232 GB Notification: Performance of FrontEnd: time 2.204e-06/1.185, allocations: 4 kB / 1.514 GB, free: 5.633 MB / 1.232 GB Notification: Performance of Transformations before backend: time 0.0001738/1.185, allocations: 0 / 1.514 GB, free: 5.633 MB / 1.232 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.01099/1.196, allocations: 4.138 MB / 1.518 GB, free: 1.398 MB / 1.232 GB Notification: Performance of prepare preOptimizeDAE: time 5.744e-05/1.196, allocations: 12.03 kB / 1.518 GB, free: 1.387 MB / 1.232 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003562/1.2, allocations: 0.6223 MB / 1.519 GB, free: 0.7617 MB / 1.232 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007935/1.208, allocations: 3.436 MB / 1.522 GB, free: 13.26 MB / 1.248 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002266/1.208, allocations: 160 kB / 1.522 GB, free: 13.1 MB / 1.248 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006461/1.209, allocations: 208 kB / 1.523 GB, free: 12.89 MB / 1.248 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005815/1.215, allocations: 2.238 MB / 1.525 GB, free: 10.52 MB / 1.248 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-05/1.215, allocations: 7.984 kB / 1.525 GB, free: 10.51 MB / 1.248 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003226/1.215, allocations: 88 kB / 1.525 GB, free: 10.42 MB / 1.248 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.653e-05/1.215, allocations: 71.83 kB / 1.525 GB, free: 10.35 MB / 1.248 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004565/1.22, allocations: 2.111 MB / 1.527 GB, free: 8.238 MB / 1.248 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.01554/1.235, allocations: 9.245 MB / 1.536 GB, free: 14.58 MB / 1.264 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003189/1.239, allocations: 1.431 MB / 1.537 GB, free: 13.14 MB / 1.264 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001411/1.24, allocations: 0.6513 MB / 1.538 GB, free: 12.49 MB / 1.264 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006991/1.247, allocations: 3.623 MB / 1.542 GB, free: 8.652 MB / 1.264 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0018/1.249, allocations: 0.845 MB / 1.542 GB, free: 7.789 MB / 1.264 GB Notification: Performance of pre-optimization done (n=140): time 4.499e-06/1.249, allocations: 0 / 1.542 GB, free: 7.789 MB / 1.264 GB Notification: Performance of matching and sorting (n=140): time 0.00594/1.255, allocations: 2.138 MB / 1.545 GB, free: 5.621 MB / 1.264 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.683e-05/1.255, allocations: 201.2 kB / 1.545 GB, free: 5.383 MB / 1.264 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005295/1.26, allocations: 2.6 MB / 1.547 GB, free: 2.766 MB / 1.264 GB Notification: Performance of collectPreVariables (initialization): time 0.0003916/1.261, allocations: 57.7 kB / 1.547 GB, free: 2.703 MB / 1.264 GB Notification: Performance of collectInitialEqns (initialization): time 0.001503/1.262, allocations: 1.316 MB / 1.549 GB, free: 1.375 MB / 1.264 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006983/1.263, allocations: 0.4958 MB / 1.549 GB, free: 0.875 MB / 1.264 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.001031/1.264, allocations: 463.7 kB / 1.55 GB, free: 424 kB / 1.264 GB Notification: Performance of setup shared object (initialization): time 0.0001075/1.264, allocations: 305.1 kB / 1.55 GB, free: 116 kB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00168/1.266, allocations: 0.7628 MB / 1.551 GB, free: 15.35 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002367/1.268, allocations: 1.22 MB / 1.552 GB, free: 13.95 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003391/1.272, allocations: 1.894 MB / 1.554 GB, free: 11.91 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.771e-05/1.272, allocations: 4 kB / 1.554 GB, free: 11.91 MB / 1.279 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.00551/1.277, allocations: 2.441 MB / 1.556 GB, free: 9.453 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.013e-05/1.277, allocations: 19.88 kB / 1.556 GB, free: 9.434 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.255e-05/1.277, allocations: 8.75 kB / 1.556 GB, free: 9.426 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006626/1.278, allocations: 96.78 kB / 1.556 GB, free: 9.328 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001842/1.28, allocations: 451.3 kB / 1.557 GB, free: 8.887 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002286/1.282, allocations: 1.658 MB / 1.558 GB, free: 7.082 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002662/1.285, allocations: 266.4 kB / 1.558 GB, free: 6.82 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003373/1.285, allocations: 95.95 kB / 1.559 GB, free: 6.727 MB / 1.279 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002953/1.288, allocations: 1.293 MB / 1.56 GB, free: 5.43 MB / 1.279 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002077/1.29, allocations: 1.22 MB / 1.561 GB, free: 4.031 MB / 1.279 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003299/1.293, allocations: 1.874 MB / 1.563 GB, free: 2.004 MB / 1.279 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.414e-05/1.294, allocations: 0 / 1.563 GB, free: 2.004 MB / 1.279 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.6889/1.982, allocations: 2.42 MB / 1.565 GB, free: 329.6 MB / 1.279 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/1.982, allocations: 9.875 kB / 1.565 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.306e-05/1.983, allocations: 11.14 kB / 1.565 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006475/1.983, allocations: 97.78 kB / 1.565 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002216/1.985, allocations: 447.8 kB / 1.566 GB, free: 329.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002002/1.987, allocations: 1.653 MB / 1.567 GB, free: 328.2 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002658/1.99, allocations: 222.2 kB / 1.568 GB, free: 328.2 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002974/1.99, allocations: 94.11 kB / 1.568 GB, free: 328.2 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.0005744/1.991, allocations: 308.3 kB / 1.568 GB, free: 328 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0007712/1.992, allocations: 289.7 kB / 1.568 GB, free: 328 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005374/1.997, allocations: 2.009 MB / 1.57 GB, free: 327.8 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003335/2, allocations: 1.655 MB / 1.572 GB, free: 326.9 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.616e-06/2.001, allocations: 3.891 kB / 1.572 GB, free: 326.9 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001307/2.002, allocations: 0.5806 MB / 1.572 GB, free: 326.7 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004003/2.002, allocations: 33.47 kB / 1.572 GB, free: 326.7 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001499/2.004, allocations: 119.5 kB / 1.572 GB, free: 326.7 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002959/2.004, allocations: 115.4 kB / 1.573 GB, free: 326.7 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004161/2.008, allocations: 1.747 MB / 1.574 GB, free: 326 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004949/2.013, allocations: 2.69 MB / 1.577 GB, free: 324.8 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001415/2.015, allocations: 0.6992 MB / 1.578 GB, free: 324.6 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.003293/2.018, allocations: 1.734 MB / 1.579 GB, free: 323.9 MB / 1.279 GB Notification: Performance of Backend: time 6.51e-07/2.018, allocations: 0 / 1.579 GB, free: 323.9 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.009905/2.028, allocations: 3.997 MB / 1.583 GB, free: 322.7 MB / 1.279 GB Notification: Performance of SimCode: time 0.01119/2.039, allocations: 6.354 MB / 1.589 GB, free: 319.6 MB / 1.279 GB Notification: Performance of Templates: time 0.0937/2.133, allocations: 67.06 MB / 1.655 GB, free: 259.9 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