Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.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.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001593/0.001593, allocations: 112.5 kB / 15.73 MB, free: 68 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001935/0.001935, allocations: 192.7 kB / 16.66 MB, free: 6.586 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.368/1.368, allocations: 222.9 MB / 240.4 MB, free: 4.344 MB / 190.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.621/2.621, allocations: 437 MB / 0.7105 GB, free: 4.98 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001176/0.001176, allocations: 67.89 kB / 1.019 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2961/0.2973, allocations: 151.6 MB / 1.167 GB, free: 6.789 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9441/1.241, allocations: 236.4 MB / 1.398 GB, free: 15.88 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.02915/1.271, allocations: 17.54 MB / 1.415 GB, free: 1.699 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004335/1.275, allocations: 91.84 kB / 1.415 GB, free: 1.668 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.00665/1.282, allocations: 2.143 MB / 1.417 GB, free: 164 kB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.01024/1.292, allocations: 3.715 MB / 1.42 GB, free: 13.31 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.006978/1.299, allocations: 2.602 MB / 1.423 GB, free: 11.43 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01165/1.311, allocations: 7.888 MB / 1.431 GB, free: 6.016 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003078/1.314, allocations: 1.932 MB / 1.433 GB, free: 4.039 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006216/1.32, allocations: 2.783 MB / 1.435 GB, free: 1.246 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003496/1.323, allocations: 1.63 MB / 1.437 GB, free: 15.62 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0005362/1.324, allocations: 212 kB / 1.437 GB, free: 15.41 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008089/1.332, allocations: 3.613 MB / 1.441 GB, free: 11.79 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001382/1.334, allocations: 0.8919 MB / 1.441 GB, free: 10.89 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.002025/1.336, allocations: 1.384 MB / 1.443 GB, free: 9.504 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.01026/1.346, allocations: 4.932 MB / 1.448 GB, free: 4.555 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 4.608e-06/1.346, allocations: 0 / 1.448 GB, free: 4.555 MB / 1.107 GB Notification: Performance of FrontEnd: time 1.482e-06/1.346, allocations: 4 kB / 1.448 GB, free: 4.551 MB / 1.107 GB Notification: Performance of Transformations before backend: time 0.0001151/1.346, allocations: 4 kB / 1.448 GB, free: 4.547 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.00641/1.352, allocations: 3.343 MB / 1.451 GB, free: 1.121 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 4.069e-05/1.353, allocations: 11.98 kB / 1.451 GB, free: 1.109 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005603/1.358, allocations: 0.8919 MB / 1.452 GB, free: 220 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005021/1.363, allocations: 2.824 MB / 1.455 GB, free: 13.32 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001154/1.363, allocations: 106.6 kB / 1.455 GB, free: 13.21 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003169/1.364, allocations: 140 kB / 1.455 GB, free: 13.08 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003353/1.367, allocations: 1.668 MB / 1.456 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.26e-05/1.367, allocations: 4 kB / 1.456 GB, free: 11.33 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001341/1.367, allocations: 56 kB / 1.456 GB, free: 11.27 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.664e-05/1.367, allocations: 51.39 kB / 1.457 GB, free: 11.22 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003395/1.371, allocations: 1.45 MB / 1.458 GB, free: 9.766 MB / 1.123 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.01225/1.383, allocations: 8.129 MB / 1.466 GB, free: 1.051 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002769/1.386, allocations: 1.569 MB / 1.467 GB, free: 15.35 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00116/1.387, allocations: 0.5103 MB / 1.468 GB, free: 14.84 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001332/1.388, allocations: 0.7747 MB / 1.469 GB, free: 13.91 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001266/1.39, allocations: 0.543 MB / 1.469 GB, free: 13.36 MB / 1.139 GB Notification: Performance of pre-optimization done (n=82): time 3.326e-06/1.39, allocations: 0 / 1.469 GB, free: 13.36 MB / 1.139 GB Notification: Performance of matching and sorting (n=82): time 0.00443/1.394, allocations: 1.615 MB / 1.471 GB, free: 11.71 MB / 1.139 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.398e-05/1.394, allocations: 60.06 kB / 1.471 GB, free: 11.64 MB / 1.139 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003598/1.398, allocations: 2.164 MB / 1.473 GB, free: 9.457 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 0.0001576/1.398, allocations: 41.7 kB / 1.473 GB, free: 9.41 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009846/1.399, allocations: 1.076 MB / 1.474 GB, free: 8.32 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003477/1.399, allocations: 313.4 kB / 1.474 GB, free: 8.012 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005209/1.4, allocations: 318.7 kB / 1.475 GB, free: 7.695 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 9.294e-05/1.4, allocations: 309.1 kB / 1.475 GB, free: 7.391 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001324/1.401, allocations: 0.6235 MB / 1.476 GB, free: 6.766 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001614/1.403, allocations: 1.007 MB / 1.477 GB, free: 5.609 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002761/1.406, allocations: 1.559 MB / 1.478 GB, free: 3.922 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/1.406, allocations: 0 / 1.478 GB, free: 3.922 MB / 1.139 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003948/1.41, allocations: 1.907 MB / 1.48 GB, free: 1.996 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/1.41, allocations: 41.69 kB / 1.48 GB, free: 1.949 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.9e-05/1.41, allocations: 12 kB / 1.48 GB, free: 1.938 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.001e-05/1.41, allocations: 12 kB / 1.48 GB, free: 1.926 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001367/1.411, allocations: 324 kB / 1.48 GB, free: 1.609 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.015e-05/1.411, allocations: 23.92 kB / 1.48 GB, free: 1.586 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001861/1.413, allocations: 187 kB / 1.481 GB, free: 1.402 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001314/1.413, allocations: 55.98 kB / 1.481 GB, free: 1.348 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002221/1.415, allocations: 1.113 MB / 1.482 GB, free: 236 kB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001636/1.417, allocations: 1.003 MB / 1.483 GB, free: 15.06 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002668/1.42, allocations: 1.558 MB / 1.484 GB, free: 13.37 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.666e-06/1.42, allocations: 0 / 1.484 GB, free: 13.37 MB / 1.154 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.004096/1.424, allocations: 1.913 MB / 1.486 GB, free: 11.45 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 4.064e-05/1.424, allocations: 38.62 kB / 1.486 GB, free: 11.41 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.731e-05/1.424, allocations: 12 kB / 1.486 GB, free: 11.39 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/1.424, allocations: 20 kB / 1.486 GB, free: 11.38 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001356/1.425, allocations: 323.5 kB / 1.486 GB, free: 11.06 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.022e-05/1.425, allocations: 23.92 kB / 1.486 GB, free: 11.04 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00183/1.427, allocations: 159.8 kB / 1.487 GB, free: 10.88 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001303/1.427, allocations: 63.98 kB / 1.487 GB, free: 10.82 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 6 (TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.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 (165): * Single equations (assignments): 162 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003598/1.428, allocations: 263.7 kB / 1.487 GB, free: 10.55 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005628/1.428, allocations: 226.5 kB / 1.487 GB, free: 10.33 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003017/1.431, allocations: 1.181 MB / 1.488 GB, free: 9.137 MB / 1.154 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.106e-05/1.431, allocations: 11.98 kB / 1.488 GB, free: 9.125 MB / 1.154 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.949e-06/1.431, allocations: 12 kB / 1.488 GB, free: 9.113 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002324/1.434, allocations: 1.227 MB / 1.489 GB, free: 7.797 MB / 1.154 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 postOpt removeSimpleEquations (simulation): time 0.006667/1.44, allocations: 3.108 MB / 1.493 GB, free: 4.582 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/1.44, allocations: 4 kB / 1.493 GB, free: 4.578 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/1.441, allocations: 183.9 kB / 1.493 GB, free: 4.398 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002239/1.442, allocations: 48.83 kB / 1.493 GB, free: 4.348 MB / 1.154 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.841e-05/1.442, allocations: 28.17 kB / 1.493 GB, free: 4.32 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001262/1.443, allocations: 1.527 MB / 1.494 GB, free: 2.652 MB / 1.154 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.033e-06/1.443, allocations: 3.938 kB / 1.494 GB, free: 2.648 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003811/1.447, allocations: 1.768 MB / 1.496 GB, free: 0.8516 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008896/1.448, allocations: 423.2 kB / 1.496 GB, free: 428 kB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004302/1.448, allocations: 16 kB / 1.496 GB, free: 412 kB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00133/1.449, allocations: 71.94 kB / 1.496 GB, free: 340 kB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001484/1.45, allocations: 64.5 kB / 1.497 GB, free: 276 kB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.681e-05/1.45, allocations: 27.98 kB / 1.497 GB, free: 248 kB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002472/1.452, allocations: 1.437 MB / 1.498 GB, free: 14.79 MB / 1.17 GB Notification: Performance of sort global known variables: time 1.3e-07/1.452, allocations: 0 / 1.498 GB, free: 14.79 MB / 1.17 GB Notification: Performance of remove unused functions: time 0.003073/1.455, allocations: 1.111 MB / 1.499 GB, free: 13.68 MB / 1.17 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * Number of states: 8 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,mov.filter.s[1],mov.filter.s[2],conPI.I.y,THeaOut.T,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,TSet.T_start,TSet.count) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 79 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001828/1.457, allocations: 0.7348 MB / 1.5 GB, free: 13.08 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.004625/1.462, allocations: 2.304 MB / 1.502 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: created event and clocks part: time 4.819e-06/1.462, allocations: 0 / 1.502 GB, free: 10.75 MB / 1.17 GB Notification: Performance of simCode: created simulation system equations: time 0.001327/1.463, allocations: 0.6083 MB / 1.503 GB, free: 10.13 MB / 1.17 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004236/1.467, allocations: 1.026 MB / 1.504 GB, free: 9.137 MB / 1.17 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008791/1.476, allocations: 4.257 MB / 1.508 GB, free: 4.828 MB / 1.17 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001503/1.478, allocations: 1.66 MB / 1.509 GB, free: 3.129 MB / 1.17 GB Notification: Performance of simCode: alias equations: time 0.002026/1.48, allocations: 0.5597 MB / 1.51 GB, free: 2.566 MB / 1.17 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005178/1.48, allocations: 163.3 kB / 1.51 GB, free: 2.406 MB / 1.17 GB Notification: Performance of SimCode: time 1.202e-06/1.48, allocations: 0 / 1.51 GB, free: 2.406 MB / 1.17 GB Notification: Performance of Templates: time 0.06625/1.547, allocations: 39.31 MB / 1.548 GB, free: 11.62 MB / 1.217 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches