Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.001573/0.001573, allocations: 115.2 kB / 16.42 MB, free: 6.508 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.001789/0.001789, allocations: 188.2 kB / 17.35 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.352/1.352, 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 9.1.3-maint.9.1.x/package.mo): time 2.243/2.243, allocations: 390.3 MB / 0.6655 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001315/0.001315, allocations: 63.88 kB / 0.9516 GB, free: 7.594 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7685/0.7698, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Blocks/Math.mo:543:5-544:48:writable] Warning: Parameter pum.gaiSpe.k has no value, and is fixed during initialization (fixed=true), using available start value (start=1) as default value. Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb): time 0.09704/0.8669, allocations: 89.78 MB / 1.176 GB, free: 5.379 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.1976/1.065, allocations: 165.2 MB / 1.338 GB, free: 14.63 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004659/1.069, allocations: 99.44 kB / 1.338 GB, free: 14.54 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00469/1.074, allocations: 1.277 MB / 1.339 GB, free: 13.25 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01025/1.084, allocations: 3.308 MB / 1.342 GB, free: 9.934 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00875/1.093, allocations: 3.004 MB / 1.345 GB, free: 6.945 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.009496/1.103, allocations: 6.652 MB / 1.352 GB, free: 280 kB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00487/1.107, allocations: 2.815 MB / 1.354 GB, free: 13.38 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005521/1.113, allocations: 2.526 MB / 1.357 GB, free: 10.86 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003078/1.116, allocations: 1.947 MB / 1.359 GB, free: 8.902 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.0008154/1.117, allocations: 296 kB / 1.359 GB, free: 8.613 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005267/1.122, allocations: 2.196 MB / 1.361 GB, free: 6.414 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.001123/1.123, allocations: 0.8216 MB / 1.362 GB, free: 5.59 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.002623/1.126, allocations: 1.617 MB / 1.364 GB, free: 3.965 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.009273/1.135, allocations: 5.055 MB / 1.369 GB, free: 14.89 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.187e-06/1.135, allocations: 0 / 1.369 GB, free: 14.89 MB / 1.107 GB Notification: Performance of FrontEnd: time 2.725e-06/1.135, allocations: 0 / 1.369 GB, free: 14.89 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0002119/1.136, allocations: 0 / 1.369 GB, free: 14.89 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 510 * Number of variables: 510 Notification: Performance of Generate backend data structure: time 0.008822/1.144, allocations: 3.579 MB / 1.372 GB, free: 11.24 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.935e-05/1.144, allocations: 12.02 kB / 1.372 GB, free: 11.23 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00293/1.147, allocations: 0.566 MB / 1.373 GB, free: 10.66 MB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005127/1.153, allocations: 2.371 MB / 1.375 GB, free: 8.211 MB / 1.107 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001472/1.153, allocations: 152 kB / 1.375 GB, free: 8.062 MB / 1.107 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004115/1.153, allocations: 208 kB / 1.375 GB, free: 7.859 MB / 1.107 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004454/1.158, allocations: 2.24 MB / 1.377 GB, free: 5.531 MB / 1.107 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.778e-05/1.158, allocations: 4 kB / 1.377 GB, free: 5.527 MB / 1.107 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002165/1.158, allocations: 87.94 kB / 1.378 GB, free: 5.441 MB / 1.107 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.354e-05/1.158, allocations: 75.77 kB / 1.378 GB, free: 5.367 MB / 1.107 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004082/1.162, allocations: 2.111 MB / 1.38 GB, free: 3.254 MB / 1.107 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.01371/1.176, allocations: 8.642 MB / 1.388 GB, free: 10.26 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002955/1.179, allocations: 1.457 MB / 1.39 GB, free: 8.797 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001348/1.18, allocations: 0.6676 MB / 1.39 GB, free: 8.129 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.006031/1.186, allocations: 3.587 MB / 1.394 GB, free: 4.328 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001822/1.188, allocations: 0.8567 MB / 1.395 GB, free: 3.453 MB / 1.123 GB Notification: Performance of pre-optimization done (n=141): time 4.468e-06/1.188, allocations: 0 / 1.395 GB, free: 3.453 MB / 1.123 GB Notification: Performance of matching and sorting (n=141): time 0.005729/1.194, allocations: 2.118 MB / 1.397 GB, free: 1.305 MB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001259/1.194, allocations: 201.2 kB / 1.397 GB, free: 1.066 MB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003502/1.197, allocations: 2.007 MB / 1.399 GB, free: 15.04 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0002648/1.198, allocations: 57.7 kB / 1.399 GB, free: 14.97 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001196/1.199, allocations: 1.156 MB / 1.4 GB, free: 13.8 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006291/1.2, allocations: 477.2 kB / 1.4 GB, free: 13.33 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007389/1.2, allocations: 359.1 kB / 1.401 GB, free: 12.97 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001116/1.2, allocations: 305.1 kB / 1.401 GB, free: 12.67 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001383/1.202, allocations: 0.5903 MB / 1.402 GB, free: 12.08 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001783/1.204, allocations: 1.004 MB / 1.403 GB, free: 10.91 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003004/1.207, allocations: 1.578 MB / 1.404 GB, free: 9.203 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.083e-05/1.207, allocations: 4 kB / 1.404 GB, free: 9.199 MB / 1.139 GB Notification: Performance of matching and sorting (n=215) (initialization): time 0.00462/1.211, allocations: 1.968 MB / 1.406 GB, free: 7.219 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.211, allocations: 12 kB / 1.406 GB, free: 7.207 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.211, allocations: 8 kB / 1.406 GB, free: 7.199 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006319/1.212, allocations: 97.14 kB / 1.406 GB, free: 7.102 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001589/1.214, allocations: 403.4 kB / 1.407 GB, free: 6.707 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002198/1.216, allocations: 1.652 MB / 1.408 GB, free: 4.914 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/1.218, allocations: 228.8 kB / 1.408 GB, free: 4.691 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000168/1.218, allocations: 79.97 kB / 1.408 GB, free: 4.613 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001993/1.22, allocations: 1.011 MB / 1.409 GB, free: 3.598 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00154/1.221, allocations: 0.9843 MB / 1.41 GB, free: 2.449 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002576/1.224, allocations: 1.527 MB / 1.412 GB, free: 0.7852 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.915e-06/1.224, allocations: 4 kB / 1.412 GB, free: 0.7812 MB / 1.139 GB Notification: Performance of matching and sorting (n=215) (initialization_lambda0): time 0.004206/1.228, allocations: 1.913 MB / 1.414 GB, free: 14.86 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 1.527e-05/1.228, allocations: 8 kB / 1.414 GB, free: 14.85 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.492e-05/1.228, allocations: 12 kB / 1.414 GB, free: 14.84 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005809/1.229, allocations: 97.48 kB / 1.414 GB, free: 14.74 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001501/1.23, allocations: 399.3 kB / 1.414 GB, free: 14.35 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001993/1.232, allocations: 1.652 MB / 1.416 GB, free: 12.55 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001834/1.234, allocations: 183.4 kB / 1.416 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001666/1.234, allocations: 83.95 kB / 1.416 GB, free: 12.29 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (212): * Single equations (assignments): 210 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * 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.0004458/1.235, allocations: 297.5 kB / 1.416 GB, free: 11.99 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000564/1.235, allocations: 237.1 kB / 1.417 GB, free: 11.76 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004567/1.24, allocations: 2.017 MB / 1.419 GB, free: 9.746 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003276/1.243, allocations: 1.674 MB / 1.42 GB, free: 8.004 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.995e-06/1.243, allocations: 7.938 kB / 1.42 GB, free: 7.996 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001046/1.244, allocations: 0.5092 MB / 1.421 GB, free: 7.465 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000415/1.245, allocations: 35.94 kB / 1.421 GB, free: 7.43 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001504/1.246, allocations: 122.2 kB / 1.421 GB, free: 7.312 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002308/1.247, allocations: 109.2 kB / 1.421 GB, free: 7.207 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004355/1.251, allocations: 1.783 MB / 1.423 GB, free: 5.41 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005029/1.256, allocations: 2.67 MB / 1.425 GB, free: 2.719 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001352/1.257, allocations: 0.7175 MB / 1.426 GB, free: 2.004 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002276/1.26, allocations: 1.351 MB / 1.427 GB, free: 0.6406 MB / 1.154 GB Notification: Performance of Backend: time 4.91e-07/1.26, allocations: 3.938 kB / 1.427 GB, free: 0.6367 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.01049/1.27, allocations: 3.341 MB / 1.431 GB, free: 13.52 MB / 1.17 GB Notification: Performance of SimCode: time 0.01119/1.281, allocations: 5.466 MB / 1.436 GB, free: 8.027 MB / 1.17 GB Notification: Performance of Templates: time 0.0921/1.374, allocations: 58.39 MB / 1.493 GB, free: 14.24 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Examples_FixedApproachDryBulb.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Examples.FixedApproachDryBulb.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches