Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00132/0.001321, allocations: 110.6 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.00136/0.00136, allocations: 189.7 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.374/1.374, allocations: 222.9 MB / 241 MB, free: 15.17 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.24/2.24, allocations: 390.2 MB / 0.6655 GB, free: 0.6367 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001453/0.001453, allocations: 71.89 kB / 0.9516 GB, free: 7.57 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7473/0.7488, allocations: 140.4 MB / 1.089 GB, free: 5.488 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 mov.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.Examples.AirHeater_u): time 0.2823/1.031, allocations: 260.5 MB / 1.343 GB, free: 8.91 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02616/1.057, allocations: 16.98 MB / 1.36 GB, free: 7.887 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003105/1.06, allocations: 95.5 kB / 1.36 GB, free: 7.793 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.004021/1.065, allocations: 1.48 MB / 1.361 GB, free: 6.305 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.01017/1.075, allocations: 4.156 MB / 1.365 GB, free: 2.137 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006487/1.081, allocations: 2.583 MB / 1.368 GB, free: 15.56 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.007948/1.089, allocations: 5.894 MB / 1.373 GB, free: 9.652 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003439/1.093, allocations: 2.151 MB / 1.376 GB, free: 7.445 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005899/1.099, allocations: 2.826 MB / 1.378 GB, free: 4.609 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003668/1.102, allocations: 1.769 MB / 1.38 GB, free: 2.844 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0009/1.103, allocations: 236 kB / 1.38 GB, free: 2.613 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009151/1.112, allocations: 4.073 MB / 1.384 GB, free: 14.53 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.001559/1.114, allocations: 0.8647 MB / 1.385 GB, free: 13.66 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.003018/1.117, allocations: 1.361 MB / 1.386 GB, free: 12.3 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.009681/1.127, allocations: 5.013 MB / 1.391 GB, free: 7.27 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 5.891e-06/1.127, allocations: 0 / 1.391 GB, free: 7.27 MB / 1.123 GB Notification: Performance of FrontEnd: time 1.994e-06/1.127, allocations: 0 / 1.391 GB, free: 7.27 MB / 1.123 GB Notification: Performance of Transformations before backend: time 0.0001122/1.127, allocations: 0 / 1.391 GB, free: 7.27 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 377 * Number of variables: 377 Notification: Performance of Generate backend data structure: time 0.006852/1.134, allocations: 3.095 MB / 1.394 GB, free: 4.098 MB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 4.111e-05/1.134, allocations: 12.03 kB / 1.394 GB, free: 4.086 MB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00615/1.14, allocations: 0.8749 MB / 1.395 GB, free: 3.207 MB / 1.123 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004639/1.145, allocations: 1.931 MB / 1.397 GB, free: 1.227 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001186/1.145, allocations: 119 kB / 1.397 GB, free: 1.109 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004368/1.145, allocations: 163.9 kB / 1.397 GB, free: 0.9492 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004112/1.149, allocations: 1.849 MB / 1.399 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.858e-05/1.149, allocations: 4 kB / 1.399 GB, free: 15.03 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002034/1.15, allocations: 67.98 kB / 1.399 GB, free: 14.96 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.691e-05/1.15, allocations: 54.88 kB / 1.399 GB, free: 14.91 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003763/1.153, allocations: 1.604 MB / 1.401 GB, free: 13.3 MB / 1.139 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.01385/1.167, allocations: 8.4 MB / 1.409 GB, free: 4.281 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002948/1.17, allocations: 1.792 MB / 1.411 GB, free: 2.332 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001497/1.172, allocations: 0.6947 MB / 1.411 GB, free: 1.633 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000565/1.172, allocations: 227.8 kB / 1.412 GB, free: 1.375 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001577/1.174, allocations: 0.6844 MB / 1.412 GB, free: 0.6797 MB / 1.139 GB Notification: Performance of pre-optimization done (n=100): time 3.908e-06/1.174, allocations: 4 kB / 1.412 GB, free: 0.6758 MB / 1.139 GB Notification: Performance of matching and sorting (n=103): time 0.01052/1.185, allocations: 3.732 MB / 1.416 GB, free: 12.86 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.533e-05/1.185, allocations: 60.41 kB / 1.416 GB, free: 12.79 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003357/1.188, allocations: 1.552 MB / 1.418 GB, free: 11.19 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.0002455/1.188, allocations: 53.61 kB / 1.418 GB, free: 11.14 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.001174/1.189, allocations: 0.9635 MB / 1.419 GB, free: 10.16 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005441/1.19, allocations: 358.8 kB / 1.419 GB, free: 9.805 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005667/1.191, allocations: 238.8 kB / 1.419 GB, free: 9.566 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.0001889/1.191, allocations: 357.9 kB / 1.42 GB, free: 9.211 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001539/1.192, allocations: 0.5759 MB / 1.42 GB, free: 8.629 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001754/1.194, allocations: 0.892 MB / 1.421 GB, free: 7.609 MB / 1.154 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.0177/1.212, allocations: 4.376 MB / 1.425 GB, free: 3.094 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.13e-05/1.212, allocations: 4 kB / 1.425 GB, free: 3.09 MB / 1.154 GB Notification: Performance of matching and sorting (n=155) (initialization): time 0.00427/1.216, allocations: 1.724 MB / 1.427 GB, free: 1.344 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 5.086e-05/1.216, allocations: 41.69 kB / 1.427 GB, free: 1.297 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.74e-05/1.216, allocations: 8 kB / 1.427 GB, free: 1.289 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001896/1.216, allocations: 40.84 kB / 1.427 GB, free: 1.246 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00147/1.218, allocations: 312 kB / 1.427 GB, free: 0.9414 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00147/1.219, allocations: 1.666 MB / 1.429 GB, free: 15.14 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001866/1.221, allocations: 96.58 kB / 1.429 GB, free: 15.04 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001502/1.221, allocations: 55.98 kB / 1.429 GB, free: 14.99 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002214/1.224, allocations: 0.9827 MB / 1.43 GB, free: 14 MB / 1.17 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001607/1.225, allocations: 0.8728 MB / 1.431 GB, free: 13 MB / 1.17 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01669/1.242, allocations: 4.29 MB / 1.435 GB, free: 8.574 MB / 1.17 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.414e-06/1.242, allocations: 0 / 1.435 GB, free: 8.574 MB / 1.17 GB Notification: Performance of matching and sorting (n=155) (initialization_lambda0): time 0.004173/1.246, allocations: 1.708 MB / 1.437 GB, free: 6.848 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 3.9e-05/1.246, allocations: 33.7 kB / 1.437 GB, free: 6.809 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.919e-05/1.246, allocations: 8.688 kB / 1.437 GB, free: 6.801 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001552/1.246, allocations: 48.78 kB / 1.437 GB, free: 6.75 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001489/1.248, allocations: 307.6 kB / 1.437 GB, free: 6.449 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/1.249, allocations: 1.674 MB / 1.439 GB, free: 4.637 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002119/1.252, allocations: 96.58 kB / 1.439 GB, free: 4.543 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001729/1.252, allocations: 55.98 kB / 1.439 GB, free: 4.488 MB / 1.17 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,TSet.T_start,$whenCondition1,conPI.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 145 * Array equations: 2 * Algorithm blocks: 1 * 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): 1 system {(1,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0005561/1.252, allocations: 256.8 kB / 1.439 GB, free: 4.23 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0006221/1.253, allocations: 185.7 kB / 1.439 GB, free: 4.047 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004006/1.257, allocations: 1.467 MB / 1.441 GB, free: 2.562 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002981/1.26, allocations: 1.207 MB / 1.442 GB, free: 1.34 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.158e-06/1.26, allocations: 4.172 kB / 1.442 GB, free: 1.336 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001442/1.262, allocations: 374.6 kB / 1.442 GB, free: 0.9492 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000725/1.262, allocations: 31.94 kB / 1.442 GB, free: 0.918 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001905/1.264, allocations: 81.05 kB / 1.442 GB, free: 0.8398 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002448/1.264, allocations: 76.92 kB / 1.442 GB, free: 0.7656 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004831/1.269, allocations: 1.561 MB / 1.444 GB, free: 15.19 MB / 1.186 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.005067/1.274, allocations: 2.212 MB / 1.446 GB, free: 12.96 MB / 1.186 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001399/1.276, allocations: 0.6129 MB / 1.447 GB, free: 12.35 MB / 1.186 GB Notification: Performance of sorting global known variables: time 0.00218/1.278, allocations: 1.043 MB / 1.448 GB, free: 11.28 MB / 1.186 GB Notification: Performance of Backend: time 4.6e-07/1.278, allocations: 0 / 1.448 GB, free: 11.28 MB / 1.186 GB Notification: Performance of simCode: created initialization part: time 0.008494/1.286, allocations: 2.853 MB / 1.451 GB, free: 8.383 MB / 1.186 GB Notification: Performance of SimCode: time 0.009798/1.296, allocations: 4.77 MB / 1.455 GB, free: 3.566 MB / 1.186 GB Notification: Performance of Templates: time 0.09147/1.388, allocations: 50.12 MB / 1.504 GB, free: 1.926 MB / 1.232 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches