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.001367/0.001367, allocations: 108.4 kB / 16.27 MB, free: 6.016 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.001329/0.001329, allocations: 191.7 kB / 17.2 MB, free: 5.625 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.483/1.483, allocations: 222.9 MB / 240.9 MB, free: 15.22 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.643/2.643, allocations: 437.1 MB / 0.7111 GB, free: 4.473 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001983/0.001984, allocations: 67.36 kB / 0.8699 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3937/0.3957, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 1.048/1.444, allocations: 236.4 MB / 1.249 GB, free: 13.14 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.03367/1.478, allocations: 17.54 MB / 1.266 GB, free: 11.55 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004966/1.483, allocations: 91.5 kB / 1.266 GB, free: 11.46 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.01161/1.495, allocations: 4.603 MB / 1.271 GB, free: 6.859 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.01207/1.507, allocations: 3.445 MB / 1.274 GB, free: 3.402 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.00808/1.515, allocations: 2.497 MB / 1.276 GB, free: 0.918 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.01447/1.529, allocations: 7.744 MB / 1.284 GB, free: 9.152 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003977/1.533, allocations: 1.917 MB / 1.286 GB, free: 7.195 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007361/1.541, allocations: 2.639 MB / 1.288 GB, free: 4.547 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004375/1.545, allocations: 1.609 MB / 1.29 GB, free: 2.945 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006589/1.546, allocations: 204 kB / 1.29 GB, free: 2.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009511/1.555, allocations: 3.594 MB / 1.294 GB, free: 15.14 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001814/1.557, allocations: 0.8841 MB / 1.295 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.00288/1.56, allocations: 1.38 MB / 1.296 GB, free: 12.87 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0135/1.574, allocations: 4.814 MB / 1.301 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 9.487e-06/1.574, allocations: 0 / 1.301 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of FrontEnd: time 2.314e-06/1.574, allocations: 0 / 1.301 GB, free: 8.043 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.000116/1.574, allocations: 0 / 1.301 GB, free: 8.043 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.00857/1.582, allocations: 3.23 MB / 1.304 GB, free: 4.734 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.764e-05/1.583, allocations: 15.98 kB / 1.304 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005742/1.588, allocations: 0.8785 MB / 1.305 GB, free: 3.836 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005941/1.594, allocations: 2.674 MB / 1.307 GB, free: 1.09 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004676/1.595, allocations: 170.6 kB / 1.307 GB, free: 0.9219 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003733/1.595, allocations: 140 kB / 1.308 GB, free: 0.7852 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003801/1.599, allocations: 1.675 MB / 1.309 GB, free: 15.03 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.1e-05/1.599, allocations: 4 kB / 1.309 GB, free: 15.02 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001463/1.599, allocations: 63.92 kB / 1.309 GB, free: 14.96 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.954e-05/1.599, allocations: 50.52 kB / 1.309 GB, free: 14.91 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003826/1.603, allocations: 1.462 MB / 1.311 GB, free: 13.44 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.01432/1.617, allocations: 8.174 MB / 1.319 GB, free: 4.688 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003202/1.621, allocations: 1.577 MB / 1.32 GB, free: 2.973 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001268/1.622, allocations: 0.5142 MB / 1.321 GB, free: 2.457 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001489/1.623, allocations: 0.7785 MB / 1.321 GB, free: 1.527 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001362/1.625, allocations: 0.5392 MB / 1.322 GB, free: 0.9766 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 5.14e-06/1.625, allocations: 4.641 kB / 1.322 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of matching and sorting (n=82): time 0.004936/1.63, allocations: 1.626 MB / 1.324 GB, free: 15.31 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.204e-05/1.63, allocations: 64.06 kB / 1.324 GB, free: 15.24 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003627/1.634, allocations: 2.14 MB / 1.326 GB, free: 13.07 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001897/1.634, allocations: 49.64 kB / 1.326 GB, free: 13.02 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.001179/1.635, allocations: 1.058 MB / 1.327 GB, free: 11.95 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003945/1.635, allocations: 299.8 kB / 1.327 GB, free: 11.65 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005332/1.636, allocations: 318.6 kB / 1.327 GB, free: 11.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001562/1.636, allocations: 305.1 kB / 1.328 GB, free: 11.03 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001435/1.637, allocations: 0.6273 MB / 1.328 GB, free: 10.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001824/1.639, allocations: 1.022 MB / 1.329 GB, free: 9.223 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003029/1.642, allocations: 1.559 MB / 1.331 GB, free: 7.531 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.412e-06/1.642, allocations: 0 / 1.331 GB, free: 7.531 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.004328/1.647, allocations: 1.917 MB / 1.333 GB, free: 5.602 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.071e-05/1.647, allocations: 39.72 kB / 1.333 GB, free: 5.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.872e-05/1.647, allocations: 8 kB / 1.333 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.627e-05/1.647, allocations: 16 kB / 1.333 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001348/1.648, allocations: 332.1 kB / 1.333 GB, free: 5.211 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3e-05/1.648, allocations: 19.94 kB / 1.333 GB, free: 5.191 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001922/1.65, allocations: 183 kB / 1.333 GB, free: 5.012 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001235/1.65, allocations: 63.92 kB / 1.333 GB, free: 4.949 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002449/1.653, allocations: 1.116 MB / 1.334 GB, free: 3.828 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001814/1.655, allocations: 1.014 MB / 1.335 GB, free: 2.664 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003024/1.658, allocations: 1.562 MB / 1.337 GB, free: 0.9688 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.275e-06/1.658, allocations: 5.562 kB / 1.337 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.004455/1.662, allocations: 1.917 MB / 1.339 GB, free: 15.04 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 5.884e-05/1.662, allocations: 37.69 kB / 1.339 GB, free: 15 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.107e-05/1.662, allocations: 12 kB / 1.339 GB, free: 14.98 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.334e-05/1.662, allocations: 23.97 kB / 1.339 GB, free: 14.96 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00135/1.664, allocations: 315.6 kB / 1.339 GB, free: 14.65 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.02e-05/1.664, allocations: 28.11 kB / 1.339 GB, free: 14.62 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/1.666, allocations: 159.7 kB / 1.339 GB, free: 14.47 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001304/1.666, allocations: 63.92 kB / 1.339 GB, free: 14.41 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.0004771/1.666, allocations: 259.8 kB / 1.34 GB, free: 14.14 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004663/1.667, allocations: 221.2 kB / 1.34 GB, free: 13.93 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003413/1.67, allocations: 1.192 MB / 1.341 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.402e-05/1.67, allocations: 8 kB / 1.341 GB, free: 12.71 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.792e-05/1.67, allocations: 8 kB / 1.341 GB, free: 12.7 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002733/1.673, allocations: 1.246 MB / 1.342 GB, free: 11.37 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.007464/1.681, allocations: 3.111 MB / 1.345 GB, free: 8.152 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.015e-05/1.681, allocations: 4 kB / 1.345 GB, free: 8.148 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001057/1.682, allocations: 183.9 kB / 1.346 GB, free: 7.969 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002907/1.682, allocations: 56.8 kB / 1.346 GB, free: 7.91 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.92e-05/1.682, allocations: 20 kB / 1.346 GB, free: 7.891 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001805/1.684, allocations: 1.531 MB / 1.347 GB, free: 6.215 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.332e-06/1.684, allocations: 4.031 kB / 1.347 GB, free: 6.211 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004781/1.689, allocations: 1.781 MB / 1.349 GB, free: 4.395 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001301/1.69, allocations: 394.1 kB / 1.349 GB, free: 3.988 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002476/1.69, allocations: 20 kB / 1.349 GB, free: 3.969 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001119/1.691, allocations: 71.92 kB / 1.349 GB, free: 3.898 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001683/1.691, allocations: 60.52 kB / 1.349 GB, free: 3.84 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.457e-05/1.692, allocations: 35.97 kB / 1.349 GB, free: 3.805 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.002415/1.694, allocations: 1.425 MB / 1.351 GB, free: 2.367 MB / 1.045 GB Notification: Performance of sort global known variables: time 3.5e-07/1.694, allocations: 0 / 1.351 GB, free: 2.367 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.003106/1.697, allocations: 1.099 MB / 1.352 GB, free: 1.266 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.002394/1.7, allocations: 0.7383 MB / 1.353 GB, free: 0.6562 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.005725/1.705, allocations: 2.442 MB / 1.355 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 6.081e-06/1.705, allocations: 4.062 kB / 1.355 GB, free: 14.19 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 0.001496/1.707, allocations: 0.6077 MB / 1.356 GB, free: 13.57 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004717/1.712, allocations: 1.016 MB / 1.357 GB, free: 12.58 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009713/1.721, allocations: 4.385 MB / 1.361 GB, free: 8.141 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001623/1.723, allocations: 1.66 MB / 1.362 GB, free: 6.445 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007926/1.724, allocations: 179.4 kB / 1.363 GB, free: 6.273 MB / 1.061 GB Notification: Performance of SimCode: time 8.32e-07/1.724, allocations: 3.938 kB / 1.363 GB, free: 6.27 MB / 1.061 GB Notification: Performance of Templates: time 0.06892/1.793, allocations: 40.8 MB / 1.402 GB, free: 13.69 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=400 -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