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.001606/0.001606, allocations: 104.3 kB / 16.27 MB, free: 6.414 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.00152/0.00152, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.415/1.415, allocations: 222.9 MB / 240.9 MB, free: 15.27 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.711 GB, free: 4.527 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001664/0.001664, allocations: 65 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3765/0.3782, allocations: 151.6 MB / 1.018 GB, free: 10.63 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 1.045/1.423, allocations: 236.4 MB / 1.249 GB, free: 12.93 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.02942/1.453, allocations: 17.54 MB / 1.266 GB, free: 11.35 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005276/1.458, allocations: 91.5 kB / 1.266 GB, free: 11.26 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01206/1.47, allocations: 4.6 MB / 1.271 GB, free: 6.652 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01274/1.483, allocations: 3.439 MB / 1.274 GB, free: 3.199 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.007823/1.491, allocations: 2.501 MB / 1.276 GB, free: 0.7109 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01337/1.504, allocations: 7.751 MB / 1.284 GB, free: 8.941 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004416/1.508, allocations: 1.913 MB / 1.286 GB, free: 6.988 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007427/1.516, allocations: 2.643 MB / 1.288 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00394/1.52, allocations: 1.604 MB / 1.29 GB, free: 2.734 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.00101/1.521, allocations: 200 kB / 1.29 GB, free: 2.539 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008776/1.53, allocations: 3.594 MB / 1.294 GB, free: 14.94 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001711/1.531, allocations: 0.8763 MB / 1.294 GB, free: 14.06 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.003631/1.535, allocations: 1.384 MB / 1.296 GB, free: 12.67 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.01135/1.546, allocations: 4.822 MB / 1.301 GB, free: 7.832 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/1.546, allocations: 4 kB / 1.301 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.284e-06/1.546, allocations: 0 / 1.301 GB, free: 7.828 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001576/1.547, allocations: 0 / 1.301 GB, free: 7.828 MB / 0.9981 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.008837/1.555, allocations: 3.219 MB / 1.304 GB, free: 4.531 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 7.509e-05/1.556, allocations: 19.97 kB / 1.304 GB, free: 4.512 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006116/1.562, allocations: 0.8864 MB / 1.305 GB, free: 3.621 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006173/1.568, allocations: 2.677 MB / 1.307 GB, free: 0.8711 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004782/1.568, allocations: 170.5 kB / 1.307 GB, free: 0.7031 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005342/1.569, allocations: 144 kB / 1.307 GB, free: 0.5625 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004587/1.574, allocations: 1.671 MB / 1.309 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.276e-05/1.574, allocations: 0 / 1.309 GB, free: 14.81 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002492/1.574, allocations: 63.98 kB / 1.309 GB, free: 14.75 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.995e-05/1.574, allocations: 58.44 kB / 1.309 GB, free: 14.69 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004121/1.578, allocations: 1.458 MB / 1.311 GB, free: 13.23 MB / 1.014 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.01492/1.593, allocations: 8.164 MB / 1.319 GB, free: 4.48 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003173/1.596, allocations: 1.58 MB / 1.32 GB, free: 2.762 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001272/1.598, allocations: 0.5142 MB / 1.321 GB, free: 2.246 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001412/1.599, allocations: 0.7746 MB / 1.321 GB, free: 1.32 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001394/1.6, allocations: 0.5469 MB / 1.322 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 3.987e-06/1.6, allocations: 0 / 1.322 GB, free: 0.7617 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.004918/1.605, allocations: 1.626 MB / 1.324 GB, free: 15.11 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/1.605, allocations: 60.06 kB / 1.324 GB, free: 15.04 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004515/1.61, allocations: 2.14 MB / 1.326 GB, free: 12.87 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001871/1.61, allocations: 53.64 kB / 1.326 GB, free: 12.81 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001309/1.611, allocations: 1.054 MB / 1.327 GB, free: 11.74 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003846/1.612, allocations: 299.7 kB / 1.327 GB, free: 11.45 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000621/1.612, allocations: 318.6 kB / 1.327 GB, free: 11.12 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001254/1.613, allocations: 309 kB / 1.328 GB, free: 10.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001402/1.614, allocations: 0.6274 MB / 1.328 GB, free: 10.19 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001717/1.616, allocations: 1.022 MB / 1.329 GB, free: 9.02 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002953/1.619, allocations: 1.551 MB / 1.331 GB, free: 7.34 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.179e-05/1.619, allocations: 4 kB / 1.331 GB, free: 7.336 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004079/1.623, allocations: 1.917 MB / 1.333 GB, free: 5.402 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.208e-05/1.623, allocations: 37.7 kB / 1.333 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.673e-05/1.623, allocations: 8 kB / 1.333 GB, free: 5.352 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.511e-05/1.623, allocations: 19.98 kB / 1.333 GB, free: 5.332 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001295/1.624, allocations: 323.9 kB / 1.333 GB, free: 5.016 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.602e-05/1.624, allocations: 24.02 kB / 1.333 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001863/1.626, allocations: 191.2 kB / 1.333 GB, free: 4.805 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001207/1.626, allocations: 67.92 kB / 1.333 GB, free: 4.738 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002289/1.629, allocations: 1.116 MB / 1.334 GB, free: 3.617 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001599/1.63, allocations: 1.022 MB / 1.335 GB, free: 2.441 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002732/1.633, allocations: 1.558 MB / 1.337 GB, free: 0.7539 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.056e-06/1.633, allocations: 4 kB / 1.337 GB, free: 0.75 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.003943/1.637, allocations: 1.916 MB / 1.339 GB, free: 14.82 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 4.069e-05/1.637, allocations: 35.73 kB / 1.339 GB, free: 14.78 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.504e-05/1.637, allocations: 8.844 kB / 1.339 GB, free: 14.77 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.883e-05/1.637, allocations: 16 kB / 1.339 GB, free: 14.76 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001288/1.638, allocations: 331.5 kB / 1.339 GB, free: 14.43 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.317e-05/1.638, allocations: 23.92 kB / 1.339 GB, free: 14.41 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.64, allocations: 171.5 kB / 1.339 GB, free: 14.24 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001105/1.64, allocations: 59.98 kB / 1.339 GB, free: 14.18 MB / 1.045 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.0004084/1.641, allocations: 263.8 kB / 1.34 GB, free: 13.92 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003256/1.641, allocations: 213.2 kB / 1.34 GB, free: 13.71 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002975/1.644, allocations: 1.192 MB / 1.341 GB, free: 12.5 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.12e-05/1.644, allocations: 8 kB / 1.341 GB, free: 12.49 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.486e-06/1.644, allocations: 3.938 kB / 1.341 GB, free: 12.48 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002353/1.646, allocations: 1.242 MB / 1.342 GB, free: 11.16 MB / 1.045 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.006179/1.653, allocations: 3.114 MB / 1.345 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-06/1.653, allocations: 0 / 1.345 GB, free: 7.938 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000975/1.654, allocations: 187.8 kB / 1.345 GB, free: 7.754 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002362/1.654, allocations: 44.77 kB / 1.346 GB, free: 7.707 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.876e-05/1.654, allocations: 27.98 kB / 1.346 GB, free: 7.68 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001343/1.655, allocations: 1.535 MB / 1.347 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.833e-06/1.655, allocations: 0 / 1.347 GB, free: 6 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004357/1.66, allocations: 1.777 MB / 1.349 GB, free: 4.188 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001159/1.661, allocations: 402.1 kB / 1.349 GB, free: 3.773 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005874/1.661, allocations: 20 kB / 1.349 GB, free: 3.754 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001445/1.663, allocations: 77.42 kB / 1.349 GB, free: 3.68 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001673/1.663, allocations: 56.58 kB / 1.349 GB, free: 3.625 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.918e-05/1.663, allocations: 31.98 kB / 1.349 GB, free: 3.594 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.003722/1.667, allocations: 1.425 MB / 1.351 GB, free: 2.156 MB / 1.045 GB Notification: Performance of sort global known variables: time 2.7e-07/1.667, allocations: 4 kB / 1.351 GB, free: 2.152 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.004105/1.671, allocations: 1.091 MB / 1.352 GB, free: 1.059 MB / 1.045 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.002221/1.673, allocations: 0.7481 MB / 1.353 GB, free: 452 kB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005804/1.679, allocations: 2.441 MB / 1.355 GB, free: 13.98 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 5.53e-06/1.679, allocations: 4.562 kB / 1.355 GB, free: 13.97 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001486/1.681, allocations: 0.6 MB / 1.356 GB, free: 13.36 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005438/1.686, allocations: 1.018 MB / 1.357 GB, free: 12.37 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01084/1.697, allocations: 4.397 MB / 1.361 GB, free: 7.922 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002043/1.699, allocations: 1.66 MB / 1.362 GB, free: 6.227 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008368/1.7, allocations: 175.3 kB / 1.363 GB, free: 6.059 MB / 1.061 GB Notification: Performance of SimCode: time 1.243e-06/1.7, allocations: 0 / 1.363 GB, free: 6.059 MB / 1.061 GB Notification: Performance of Templates: time 0.06941/1.769, allocations: 40.79 MB / 1.402 GB, free: 13.48 MB / 1.107 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/jenkins1/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