Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 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.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_latest_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_latest_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.001231/0.001231, allocations: 113.9 kB / 16.42 MB, free: 6.512 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.001293/0.001293, allocations: 190.6 kB / 17.35 MB, free: 5.734 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.329/1.329, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.565/2.565, allocations: 461.9 MB / 0.7355 GB, free: 11.06 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 67.84 kB / 1.055 GB, free: 7.637 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.803/0.8044, allocations: 157.4 MB / 1.208 GB, free: 13.59 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.08674/0.8912, allocations: 90.71 MB / 1.297 GB, free: 2.57 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.1892/1.08, allocations: 167.1 MB / 1.46 GB, free: 10.9 MB / 1.186 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005219/1.086, allocations: 103.4 kB / 1.46 GB, free: 10.8 MB / 1.186 GB Notification: Performance of NFTyping.typeComponents: time 0.007034/1.093, allocations: 2.073 MB / 1.462 GB, free: 8.715 MB / 1.186 GB Notification: Performance of NFTyping.typeBindings: time 0.01151/1.104, allocations: 3.377 MB / 1.466 GB, free: 5.328 MB / 1.186 GB Notification: Performance of NFTyping.typeClassSections: time 0.009075/1.113, allocations: 3.079 MB / 1.469 GB, free: 2.266 MB / 1.186 GB Notification: Performance of NFFlatten.flatten: time 0.01523/1.129, allocations: 9.651 MB / 1.478 GB, free: 8.598 MB / 1.201 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005832/1.135, allocations: 2.826 MB / 1.481 GB, free: 5.695 MB / 1.201 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006269/1.141, allocations: 2.53 MB / 1.483 GB, free: 3.164 MB / 1.201 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004144/1.145, allocations: 2.031 MB / 1.485 GB, free: 1.125 MB / 1.201 GB Notification: Performance of NFPackage.collectConstants: time 0.001899/1.147, allocations: 308 kB / 1.486 GB, free: 0.8242 MB / 1.201 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008615/1.156, allocations: 2.367 MB / 1.488 GB, free: 14.45 MB / 1.217 GB Notification: Performance of NFScalarize.scalarize: time 0.002121/1.158, allocations: 0.9657 MB / 1.489 GB, free: 13.48 MB / 1.217 GB Notification: Performance of NFVerifyModel.verify: time 0.004596/1.162, allocations: 1.823 MB / 1.491 GB, free: 11.65 MB / 1.217 GB Notification: Performance of NFConvertDAE.convert: time 0.01098/1.173, allocations: 5.686 MB / 1.496 GB, free: 5.949 MB / 1.217 GB Notification: Performance of FrontEnd - DAE generated: time 6.592e-06/1.173, allocations: 0 / 1.496 GB, free: 5.949 MB / 1.217 GB Notification: Performance of FrontEnd: time 1.553e-06/1.173, allocations: 0 / 1.496 GB, free: 5.949 MB / 1.217 GB Notification: Performance of Transformations before backend: time 0.0002081/1.174, allocations: 0 / 1.496 GB, free: 5.949 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.01128/1.185, allocations: 4.022 MB / 1.5 GB, free: 1.836 MB / 1.217 GB Notification: Performance of prepare preOptimizeDAE: time 5.183e-05/1.185, allocations: 8.031 kB / 1.5 GB, free: 1.828 MB / 1.217 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003596/1.188, allocations: 0.6124 MB / 1.501 GB, free: 1.211 MB / 1.217 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007392/1.196, allocations: 3.404 MB / 1.504 GB, free: 13.73 MB / 1.232 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001832/1.196, allocations: 156 kB / 1.504 GB, free: 13.58 MB / 1.232 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0006259/1.197, allocations: 216 kB / 1.504 GB, free: 13.37 MB / 1.232 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005658/1.202, allocations: 2.234 MB / 1.507 GB, free: 10.99 MB / 1.232 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.873e-05/1.203, allocations: 4 kB / 1.507 GB, free: 10.99 MB / 1.232 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003254/1.203, allocations: 88 kB / 1.507 GB, free: 10.9 MB / 1.232 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.611e-05/1.203, allocations: 87.75 kB / 1.507 GB, free: 10.82 MB / 1.232 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004089/1.207, allocations: 2.099 MB / 1.509 GB, free: 8.715 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.01523/1.222, allocations: 9.218 MB / 1.518 GB, free: 15.08 MB / 1.248 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00284/1.225, allocations: 1.424 MB / 1.519 GB, free: 13.65 MB / 1.248 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001234/1.226, allocations: 0.6573 MB / 1.52 GB, free: 12.99 MB / 1.248 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006164/1.233, allocations: 3.634 MB / 1.523 GB, free: 9.141 MB / 1.248 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001556/1.234, allocations: 0.8333 MB / 1.524 GB, free: 8.289 MB / 1.248 GB Notification: Performance of pre-optimization done (n=140): time 4.228e-06/1.234, allocations: 0 / 1.524 GB, free: 8.289 MB / 1.248 GB Notification: Performance of matching and sorting (n=140): time 0.005401/1.24, allocations: 2.125 MB / 1.526 GB, free: 6.133 MB / 1.248 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.377e-05/1.24, allocations: 197.2 kB / 1.526 GB, free: 5.898 MB / 1.248 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004603/1.244, allocations: 2.596 MB / 1.529 GB, free: 3.285 MB / 1.248 GB Notification: Performance of collectPreVariables (initialization): time 0.0001716/1.245, allocations: 57.7 kB / 1.529 GB, free: 3.223 MB / 1.248 GB Notification: Performance of collectInitialEqns (initialization): time 0.001361/1.246, allocations: 1.298 MB / 1.53 GB, free: 1.91 MB / 1.248 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004889/1.246, allocations: 481.2 kB / 1.531 GB, free: 1.434 MB / 1.248 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007497/1.247, allocations: 459.5 kB / 1.531 GB, free: 0.9805 MB / 1.248 GB Notification: Performance of setup shared object (initialization): time 0.0001104/1.247, allocations: 313.1 kB / 1.531 GB, free: 0.6719 MB / 1.248 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001494/1.249, allocations: 0.755 MB / 1.532 GB, free: 15.91 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001849/1.251, allocations: 1.224 MB / 1.533 GB, free: 14.51 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003075/1.254, allocations: 1.894 MB / 1.535 GB, free: 12.47 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-05/1.254, allocations: 4 kB / 1.535 GB, free: 12.47 MB / 1.264 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004981/1.259, allocations: 2.423 MB / 1.538 GB, free: 10.03 MB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 2.572e-05/1.259, allocations: 8 kB / 1.538 GB, free: 10.02 MB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.08e-05/1.259, allocations: 12 kB / 1.538 GB, free: 10.01 MB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006462/1.259, allocations: 101.5 kB / 1.538 GB, free: 9.91 MB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001648/1.261, allocations: 451.3 kB / 1.538 GB, free: 9.469 MB / 1.264 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0021/1.263, allocations: 1.66 MB / 1.54 GB, free: 7.664 MB / 1.264 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002209/1.265, allocations: 263.3 kB / 1.54 GB, free: 7.406 MB / 1.264 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001945/1.266, allocations: 99.95 kB / 1.54 GB, free: 7.309 MB / 1.264 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002296/1.268, allocations: 1.289 MB / 1.541 GB, free: 6.012 MB / 1.264 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001697/1.27, allocations: 1.224 MB / 1.543 GB, free: 4.613 MB / 1.264 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002784/1.272, allocations: 1.87 MB / 1.544 GB, free: 2.594 MB / 1.264 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.427e-05/1.272, allocations: 7.984 kB / 1.544 GB, free: 2.586 MB / 1.264 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.004817/1.277, allocations: 2.411 MB / 1.547 GB, free: 168 kB / 1.264 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/1.277, allocations: 12 kB / 1.547 GB, free: 156 kB / 1.264 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.569e-05/1.277, allocations: 12.03 kB / 1.547 GB, free: 144 kB / 1.264 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005716/1.278, allocations: 96.77 kB / 1.547 GB, free: 44 kB / 1.264 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001587/1.28, allocations: 451.3 kB / 1.547 GB, free: 15.6 MB / 1.279 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001965/1.282, allocations: 1.65 MB / 1.549 GB, free: 13.8 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002204/1.284, allocations: 218.6 kB / 1.549 GB, free: 13.59 MB / 1.279 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001859/1.284, allocations: 91.95 kB / 1.549 GB, free: 13.5 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.0005015/1.284, allocations: 309.6 kB / 1.55 GB, free: 13.19 MB / 1.279 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000814/1.285, allocations: 276.5 kB / 1.55 GB, free: 12.91 MB / 1.279 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00455/1.29, allocations: 2.007 MB / 1.552 GB, free: 10.91 MB / 1.279 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003029/1.293, allocations: 1.651 MB / 1.553 GB, free: 9.188 MB / 1.279 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.221e-06/1.293, allocations: 0 / 1.553 GB, free: 9.188 MB / 1.279 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001202/1.294, allocations: 0.5673 MB / 1.554 GB, free: 8.598 MB / 1.279 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006071/1.295, allocations: 28 kB / 1.554 GB, free: 8.57 MB / 1.279 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001729/1.296, allocations: 121.7 kB / 1.554 GB, free: 8.453 MB / 1.279 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002285/1.297, allocations: 117.1 kB / 1.554 GB, free: 8.34 MB / 1.279 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003984/1.301, allocations: 1.737 MB / 1.556 GB, free: 6.594 MB / 1.279 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004599/1.305, allocations: 2.681 MB / 1.558 GB, free: 3.883 MB / 1.279 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001154/1.306, allocations: 0.7019 MB / 1.559 GB, free: 3.188 MB / 1.279 GB Notification: Performance of sorting global known variables: time 0.002997/1.309, allocations: 1.739 MB / 1.561 GB, free: 1.449 MB / 1.279 GB Notification: Performance of Backend: time 4.6e-07/1.309, allocations: 0 / 1.561 GB, free: 1.449 MB / 1.279 GB Notification: Performance of simCode: created initialization part: time 0.6932/2.003, allocations: 3.973 MB / 1.565 GB, free: 346.1 MB / 1.279 GB Notification: Performance of SimCode: time 0.01577/2.018, allocations: 6.256 MB / 1.571 GB, free: 343.3 MB / 1.279 GB Notification: Performance of Templates: time 0.1037/2.122, allocations: 68.35 MB / 1.638 GB, free: 289.3 MB / 1.279 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches