Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_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_9_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_9_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.001022/0.001021, allocations: 98.88 kB / 16.02 MB, free: 76 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.001213/0.001213, allocations: 187.8 kB / 16.92 MB, free: 6.773 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.444/1.444, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.481/2.481, allocations: 390.9 MB / 0.667 GB, free: 2.355 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003857/0.0003858, allocations: 8.281 kB / 0.8166 GB, free: 13.27 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7743/0.7747, allocations: 142.4 MB / 0.9557 GB, free: 8.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.267/1.042, allocations: 230.6 MB / 1.181 GB, free: 8.25 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02509/1.067, allocations: 15.72 MB / 1.196 GB, free: 8.492 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003633/1.071, allocations: 75.5 kB / 1.196 GB, free: 8.418 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0039/1.075, allocations: 1.135 MB / 1.197 GB, free: 7.281 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.009371/1.084, allocations: 3.191 MB / 1.201 GB, free: 4.082 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006681/1.091, allocations: 2.228 MB / 1.203 GB, free: 1.867 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008747/1.099, allocations: 6.553 MB / 1.209 GB, free: 11.3 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002819/1.102, allocations: 1.585 MB / 1.211 GB, free: 9.664 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006093/1.108, allocations: 2.35 MB / 1.213 GB, free: 7.305 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004474/1.113, allocations: 1.543 MB / 1.214 GB, free: 5.758 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000715/1.114, allocations: 80 kB / 1.215 GB, free: 5.68 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00956/1.123, allocations: 3.73 MB / 1.218 GB, free: 1.941 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.001329/1.125, allocations: 0.6189 MB / 1.219 GB, free: 1.32 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.002594/1.127, allocations: 1.074 MB / 1.22 GB, free: 240 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005548/1.133, allocations: 3.137 MB / 1.223 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.939e-06/1.133, allocations: 0 / 1.223 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.014e-06/1.133, allocations: 0 / 1.223 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.528e-05/1.133, allocations: 0 / 1.223 GB, free: 13.09 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 333 * Number of variables: 333 Notification: Performance of Generate backend data structure: time 0.004777/1.138, allocations: 2.423 MB / 1.225 GB, free: 10.6 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.713e-05/1.138, allocations: 8.031 kB / 1.225 GB, free: 10.59 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005638/1.143, allocations: 0.9064 MB / 1.226 GB, free: 9.684 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003596/1.147, allocations: 1.687 MB / 1.228 GB, free: 7.945 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004148/1.147, allocations: 174.5 kB / 1.228 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003067/1.148, allocations: 136 kB / 1.228 GB, free: 7.641 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003597/1.151, allocations: 1.708 MB / 1.23 GB, free: 5.863 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.549e-05/1.151, allocations: 3.938 kB / 1.23 GB, free: 5.859 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001432/1.151, allocations: 56 kB / 1.23 GB, free: 5.805 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.839e-05/1.152, allocations: 50.5 kB / 1.23 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00365/1.155, allocations: 1.54 MB / 1.231 GB, free: 4.207 MB / 0.9825 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.167, allocations: 7.669 MB / 1.239 GB, free: 11.98 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003034/1.171, allocations: 1.691 MB / 1.241 GB, free: 10.16 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001253/1.172, allocations: 0.566 MB / 1.241 GB, free: 9.594 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0014/1.173, allocations: 0.8102 MB / 1.242 GB, free: 8.633 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001492/1.175, allocations: 0.6104 MB / 1.242 GB, free: 8.008 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008946/1.176, allocations: 115.3 kB / 1.243 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 3.937e-06/1.176, allocations: 0 / 1.243 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.004742/1.18, allocations: 1.726 MB / 1.244 GB, free: 6.145 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.46e-05/1.18, allocations: 64.39 kB / 1.244 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002775/1.183, allocations: 1.567 MB / 1.246 GB, free: 4.5 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001714/1.183, allocations: 49.64 kB / 1.246 GB, free: 4.445 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009218/1.184, allocations: 0.9202 MB / 1.247 GB, free: 3.516 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003592/1.185, allocations: 295.7 kB / 1.247 GB, free: 3.223 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001855/1.185, allocations: 97.66 kB / 1.247 GB, free: 3.121 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.185, allocations: 349.9 kB / 1.248 GB, free: 2.773 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001283/1.186, allocations: 490.3 kB / 1.248 GB, free: 2.297 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001517/1.188, allocations: 0.8224 MB / 1.249 GB, free: 1.332 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.595/1.783, allocations: 1.298 MB / 1.25 GB, free: 282.6 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-05/1.783, allocations: 2.875 kB / 1.25 GB, free: 282.6 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004412/1.787, allocations: 1.517 MB / 1.252 GB, free: 282.5 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002247/1.788, allocations: 383.9 kB / 1.252 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.015e-05/1.788, allocations: 8.781 kB / 1.252 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.816e-05/1.788, allocations: 14.36 kB / 1.252 GB, free: 282.1 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001334/1.789, allocations: 290 kB / 1.252 GB, free: 282 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.815e-05/1.789, allocations: 22.02 kB / 1.252 GB, free: 282 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001847/1.791, allocations: 180 kB / 1.252 GB, free: 282 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001262/1.791, allocations: 55.69 kB / 1.252 GB, free: 282 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.272e-05/1.791, allocations: 4.344 kB / 1.252 GB, free: 282 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003274/1.794, allocations: 1.305 MB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.306e-05/1.794, allocations: 8.844 kB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.477e-05/1.794, allocations: 14.88 kB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001287/1.796, allocations: 295.5 kB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.871e-05/1.796, allocations: 16.8 kB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001904/1.798, allocations: 178.9 kB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001118/1.798, allocations: 54.09 kB / 1.254 GB, free: 281.8 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (133): * Single equations (assignments): 131 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * 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.001178/1.799, allocations: 0.5344 MB / 1.255 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003494/1.799, allocations: 179.5 kB / 1.255 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003416/1.803, allocations: 1.252 MB / 1.256 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.626e-05/1.803, allocations: 11.52 kB / 1.256 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.035e-05/1.803, allocations: 6.406 kB / 1.256 GB, free: 280.9 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002799/1.806, allocations: 1.323 MB / 1.257 GB, free: 280.2 MB / 0.9981 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.007104/1.813, allocations: 3.059 MB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/1.813, allocations: 4.812 kB / 1.26 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/1.814, allocations: 208.5 kB / 1.261 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002484/1.814, allocations: 48.55 kB / 1.261 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.7e-05/1.814, allocations: 25.17 kB / 1.261 GB, free: 278.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001165/1.816, allocations: 1.43 MB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.877e-06/1.816, allocations: 1.188 kB / 1.262 GB, free: 277.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004254/1.82, allocations: 1.884 MB / 1.264 GB, free: 276.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008802/1.821, allocations: 342.4 kB / 1.264 GB, free: 276.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003896/1.821, allocations: 22.09 kB / 1.264 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001415/1.823, allocations: 154.5 kB / 1.264 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001489/1.823, allocations: 63.08 kB / 1.265 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.386e-05/1.823, allocations: 37.28 kB / 1.265 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001613/1.824, allocations: 1.052 MB / 1.266 GB, free: 276 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.042e-06/1.824, allocations: 0 / 1.266 GB, free: 276 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003291/1.828, allocations: 0.9668 MB / 1.267 GB, free: 275.9 MB / 0.9981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * 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 (85): * Single equations (assignments): 82 * 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.001562/1.829, allocations: 0.5934 MB / 1.267 GB, free: 275.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004425/1.834, allocations: 1.925 MB / 1.269 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.721e-06/1.834, allocations: 5.312 kB / 1.269 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001476/1.835, allocations: 0.6581 MB / 1.27 GB, free: 274.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004218/1.839, allocations: 0.7762 MB / 1.27 GB, free: 274.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008578/1.848, allocations: 4.654 MB / 1.275 GB, free: 271.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001075/1.849, allocations: 1.485 MB / 1.276 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006765/1.85, allocations: 146.3 kB / 1.277 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.85, allocations: 0 / 1.277 GB, free: 270.2 MB / 0.9981 GB Notification: Performance of Templates: time 0.04874/1.899, allocations: 33.67 MB / 1.309 GB, free: 242.7 MB / 0.9981 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches