Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.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_10_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_10_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.001134/0.001134, allocations: 113 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.001067/0.001067, 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.348/1.348, allocations: 222.9 MB / 241.1 MB, free: 15.21 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.502/2.502, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001448/0.001448, allocations: 64.12 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8004/0.8019, allocations: 151.6 MB / 1.167 GB, free: 3.824 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb): time 0.09861/0.9005, allocations: 90.73 MB / 1.256 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.1936/1.094, allocations: 167.1 MB / 1.419 GB, free: 1.121 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003921/1.098, allocations: 99.44 kB / 1.419 GB, free: 1.023 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006164/1.104, allocations: 2.11 MB / 1.421 GB, free: 14.91 MB / 1.154 GB Notification: Performance of NFTyping.typeBindings: time 0.009201/1.114, allocations: 3.508 MB / 1.425 GB, free: 11.39 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007345/1.121, allocations: 3.083 MB / 1.428 GB, free: 8.324 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01243/1.133, allocations: 9.662 MB / 1.437 GB, free: 14.63 MB / 1.17 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004231/1.138, allocations: 2.822 MB / 1.44 GB, free: 11.73 MB / 1.17 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00517/1.143, allocations: 2.534 MB / 1.442 GB, free: 9.199 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003367/1.146, allocations: 2.031 MB / 1.444 GB, free: 7.16 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.0009435/1.147, allocations: 308 kB / 1.445 GB, free: 6.859 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006523/1.154, allocations: 2.367 MB / 1.447 GB, free: 4.488 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001748/1.155, allocations: 0.9657 MB / 1.448 GB, free: 3.52 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.00332/1.159, allocations: 1.823 MB / 1.45 GB, free: 1.688 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.009548/1.168, allocations: 5.682 MB / 1.455 GB, free: 11.98 MB / 1.186 GB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/1.168, allocations: 4 kB / 1.455 GB, free: 11.98 MB / 1.186 GB Notification: Performance of FrontEnd: time 1.924e-06/1.168, allocations: 0 / 1.455 GB, free: 11.98 MB / 1.186 GB Notification: Performance of Transformations before backend: time 0.000159/1.169, allocations: 0 / 1.455 GB, free: 11.98 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.00882/1.177, allocations: 4.022 MB / 1.459 GB, free: 7.867 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/1.177, allocations: 8.922 kB / 1.459 GB, free: 7.859 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003007/1.18, allocations: 0.6046 MB / 1.46 GB, free: 7.25 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005775/1.186, allocations: 3.411 MB / 1.463 GB, free: 3.766 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000122/1.186, allocations: 152 kB / 1.463 GB, free: 3.613 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002873/1.187, allocations: 212 kB / 1.463 GB, free: 3.406 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003894/1.191, allocations: 2.246 MB / 1.466 GB, free: 1.02 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.742e-05/1.191, allocations: 4 kB / 1.466 GB, free: 1.016 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/1.191, allocations: 84 kB / 1.466 GB, free: 0.9336 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.047e-05/1.191, allocations: 75.81 kB / 1.466 GB, free: 0.8594 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003738/1.195, allocations: 2.111 MB / 1.468 GB, free: 14.74 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.01251/1.207, allocations: 9.215 MB / 1.477 GB, free: 5.109 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002685/1.21, allocations: 1.424 MB / 1.478 GB, free: 3.684 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0013/1.211, allocations: 0.6573 MB / 1.479 GB, free: 3.02 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006506/1.218, allocations: 3.638 MB / 1.482 GB, free: 15.16 MB / 1.217 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001575/1.219, allocations: 0.8332 MB / 1.483 GB, free: 14.32 MB / 1.217 GB Notification: Performance of pre-optimization done (n=140): time 3.987e-06/1.219, allocations: 0 / 1.483 GB, free: 14.32 MB / 1.217 GB Notification: Performance of matching and sorting (n=140): time 0.005504/1.225, allocations: 2.125 MB / 1.485 GB, free: 12.16 MB / 1.217 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.579e-05/1.225, allocations: 193.2 kB / 1.485 GB, free: 11.93 MB / 1.217 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003602/1.229, allocations: 2.6 MB / 1.488 GB, free: 9.312 MB / 1.217 GB Notification: Performance of collectPreVariables (initialization): time 0.0002/1.229, allocations: 61.7 kB / 1.488 GB, free: 9.246 MB / 1.217 GB Notification: Performance of collectInitialEqns (initialization): time 0.00107/1.23, allocations: 1.294 MB / 1.489 GB, free: 7.938 MB / 1.217 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004299/1.23, allocations: 481.2 kB / 1.49 GB, free: 7.461 MB / 1.217 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0006033/1.231, allocations: 463.5 kB / 1.49 GB, free: 7 MB / 1.217 GB Notification: Performance of setup shared object (initialization): time 8.223e-05/1.231, allocations: 305.1 kB / 1.491 GB, free: 6.699 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001358/1.232, allocations: 0.755 MB / 1.491 GB, free: 5.941 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001749/1.234, allocations: 1.228 MB / 1.492 GB, free: 4.535 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00295/1.237, allocations: 1.898 MB / 1.494 GB, free: 2.496 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.888e-06/1.237, allocations: 4 kB / 1.494 GB, free: 2.492 MB / 1.217 GB Notification: Performance of matching and sorting (n=281) (initialization): time 0.004775/1.242, allocations: 2.423 MB / 1.497 GB, free: 56 kB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 2.513e-05/1.242, allocations: 12.16 kB / 1.497 GB, free: 44 kB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/1.242, allocations: 12 kB / 1.497 GB, free: 32 kB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006244/1.243, allocations: 100.8 kB / 1.497 GB, free: 15.93 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001624/1.244, allocations: 447.2 kB / 1.497 GB, free: 15.49 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002097/1.246, allocations: 1.653 MB / 1.499 GB, free: 13.7 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002172/1.248, allocations: 265.7 kB / 1.499 GB, free: 13.43 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000164/1.249, allocations: 91.95 kB / 1.499 GB, free: 13.34 MB / 1.232 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002261/1.251, allocations: 1.301 MB / 1.5 GB, free: 12.04 MB / 1.232 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001688/1.253, allocations: 1.22 MB / 1.502 GB, free: 10.64 MB / 1.232 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002788/1.255, allocations: 1.87 MB / 1.503 GB, free: 8.617 MB / 1.232 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.124e-06/1.255, allocations: 4 kB / 1.503 GB, free: 8.613 MB / 1.232 GB Notification: Performance of matching and sorting (n=281) (initialization_lambda0): time 0.004501/1.26, allocations: 2.415 MB / 1.506 GB, free: 6.188 MB / 1.232 GB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/1.26, allocations: 9.719 kB / 1.506 GB, free: 6.18 MB / 1.232 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.487e-05/1.26, allocations: 12 kB / 1.506 GB, free: 6.168 MB / 1.232 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005591/1.261, allocations: 96.98 kB / 1.506 GB, free: 6.07 MB / 1.232 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001569/1.262, allocations: 447.2 kB / 1.506 GB, free: 5.633 MB / 1.232 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001897/1.264, allocations: 1.65 MB / 1.508 GB, free: 3.84 MB / 1.232 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002038/1.266, allocations: 211.2 kB / 1.508 GB, free: 3.633 MB / 1.232 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001572/1.266, allocations: 99.95 kB / 1.508 GB, free: 3.535 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.000476/1.267, allocations: 305.6 kB / 1.509 GB, free: 3.23 MB / 1.232 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004827/1.267, allocations: 280.5 kB / 1.509 GB, free: 2.953 MB / 1.232 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00425/1.272, allocations: 2.007 MB / 1.511 GB, free: 0.957 MB / 1.232 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003048/1.275, allocations: 1.655 MB / 1.512 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/1.275, allocations: 0 / 1.512 GB, free: 15.23 MB / 1.248 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/1.276, allocations: 0.5673 MB / 1.513 GB, free: 14.64 MB / 1.248 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004365/1.276, allocations: 36 kB / 1.513 GB, free: 14.6 MB / 1.248 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001538/1.278, allocations: 115.8 kB / 1.513 GB, free: 14.49 MB / 1.248 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002453/1.278, allocations: 113.1 kB / 1.513 GB, free: 14.38 MB / 1.248 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003922/1.282, allocations: 1.741 MB / 1.515 GB, free: 12.63 MB / 1.248 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004563/1.287, allocations: 2.681 MB / 1.518 GB, free: 9.922 MB / 1.248 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001198/1.288, allocations: 0.7019 MB / 1.518 GB, free: 9.223 MB / 1.248 GB Notification: Performance of sorting global known variables: time 0.002645/1.291, allocations: 1.735 MB / 1.52 GB, free: 7.488 MB / 1.248 GB Notification: Performance of Backend: time 5.11e-07/1.291, allocations: 0 / 1.52 GB, free: 7.488 MB / 1.248 GB Notification: Performance of simCode: created initialization part: time 0.009181/1.3, allocations: 3.989 MB / 1.524 GB, free: 3.645 MB / 1.248 GB Notification: Performance of SimCode: time 0.01085/1.311, allocations: 6.259 MB / 1.53 GB, free: 13.37 MB / 1.264 GB Notification: Performance of Templates: time 0.6884/1.999, allocations: 67.08 MB / 1.595 GB, free: 359.7 MB / 1.279 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachWetBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachWetBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches