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.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_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.0008193/0.0008192, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005572/0.005572, allocations: 170 kB / 16.26 MB, free: 6.613 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.384/1.384, allocations: 223.3 MB / 240.3 MB, free: 5.348 MB / 190.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.456/2.456, allocations: 390.9 MB / 0.6663 GB, free: 2.32 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003617/0.0003617, allocations: 8 kB / 0.816 GB, free: 13.23 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6815/0.6818, allocations: 142.4 MB / 0.955 GB, free: 7.66 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.2439/0.9257, allocations: 230.6 MB / 1.18 GB, free: 7.918 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.02473/0.9505, allocations: 15.73 MB / 1.196 GB, free: 8.156 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002875/0.9534, allocations: 79.5 kB / 1.196 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.003613/0.9571, allocations: 1.133 MB / 1.197 GB, free: 6.945 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.00927/0.9663, allocations: 3.181 MB / 1.2 GB, free: 3.754 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.006417/0.9728, allocations: 2.231 MB / 1.202 GB, free: 1.535 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.008226/0.981, allocations: 6.553 MB / 1.208 GB, free: 10.97 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003018/0.9841, allocations: 1.585 MB / 1.21 GB, free: 9.332 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005548/0.9896, allocations: 2.354 MB / 1.212 GB, free: 6.969 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003392/0.993, allocations: 1.528 MB / 1.214 GB, free: 5.438 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.000509/0.9936, allocations: 80 kB / 1.214 GB, free: 5.359 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007051/1.001, allocations: 3.733 MB / 1.218 GB, free: 1.617 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.00109/1.002, allocations: 0.6267 MB / 1.218 GB, free: 0.9883 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001658/1.003, allocations: 1.074 MB / 1.219 GB, free: 15.9 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.007317/1.011, allocations: 4.291 MB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.36e-06/1.011, allocations: 0 / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.627e-06/1.011, allocations: 3.984 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.134e-05/1.011, allocations: 3.938 kB / 1.223 GB, free: 11.59 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.004984/1.016, allocations: 2.422 MB / 1.226 GB, free: 9.102 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/1.016, allocations: 12.03 kB / 1.226 GB, free: 9.09 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005693/1.022, allocations: 0.8986 MB / 1.227 GB, free: 8.188 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003639/1.025, allocations: 1.691 MB / 1.228 GB, free: 6.445 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004293/1.026, allocations: 174.5 kB / 1.228 GB, free: 6.273 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002617/1.026, allocations: 136 kB / 1.229 GB, free: 6.141 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003436/1.029, allocations: 1.708 MB / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.236e-05/1.03, allocations: 0 / 1.23 GB, free: 4.363 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001411/1.03, allocations: 59.97 kB / 1.23 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.433e-05/1.03, allocations: 50.52 kB / 1.23 GB, free: 4.254 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003619/1.033, allocations: 1.544 MB / 1.232 GB, free: 2.703 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.01088/1.044, allocations: 7.658 MB / 1.239 GB, free: 10.49 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003036/1.047, allocations: 1.691 MB / 1.241 GB, free: 8.668 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001264/1.049, allocations: 0.5716 MB / 1.242 GB, free: 8.098 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001365/1.05, allocations: 0.8102 MB / 1.242 GB, free: 7.137 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001361/1.051, allocations: 0.6064 MB / 1.243 GB, free: 6.516 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0007119/1.052, allocations: 111.3 kB / 1.243 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=85): time 2.765e-06/1.052, allocations: 0 / 1.243 GB, free: 6.406 MB / 0.9981 GB Notification: Performance of matching and sorting (n=85): time 0.004416/1.056, allocations: 1.734 MB / 1.245 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.089e-05/1.057, allocations: 64.41 kB / 1.245 GB, free: 4.57 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002009/1.059, allocations: 1.567 MB / 1.246 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 9.366e-05/1.059, allocations: 41.7 kB / 1.246 GB, free: 2.957 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007744/1.059, allocations: 0.9202 MB / 1.247 GB, free: 2.027 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002612/1.06, allocations: 299.7 kB / 1.248 GB, free: 1.73 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001435/1.06, allocations: 97.66 kB / 1.248 GB, free: 1.629 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001242/1.06, allocations: 345.9 kB / 1.248 GB, free: 1.285 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001185/1.061, allocations: 494.3 kB / 1.248 GB, free: 0.8047 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.4856/1.547, allocations: 0.8161 MB / 1.249 GB, free: 282.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003434/1.55, allocations: 1.306 MB / 1.251 GB, free: 282 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.326e-05/1.55, allocations: 2.75 kB / 1.251 GB, free: 282 MB / 0.9981 GB Notification: Performance of matching and sorting (n=135) (initialization): time 0.004303/1.555, allocations: 1.517 MB / 1.252 GB, free: 281.8 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002054/1.555, allocations: 380.3 kB / 1.252 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.423e-05/1.555, allocations: 8.891 kB / 1.252 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.942e-05/1.555, allocations: 14.78 kB / 1.252 GB, free: 281.4 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001421/1.556, allocations: 292 kB / 1.253 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.183e-05/1.556, allocations: 24.03 kB / 1.253 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002081/1.559, allocations: 180 kB / 1.253 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001834/1.559, allocations: 51 kB / 1.253 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/1.559, allocations: 4.875 kB / 1.253 GB, free: 281.3 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003536/1.562, allocations: 1.311 MB / 1.254 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.904e-05/1.562, allocations: 8.344 kB / 1.254 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.446e-05/1.562, allocations: 17.09 kB / 1.254 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001369/1.564, allocations: 289.2 kB / 1.254 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.836e-05/1.564, allocations: 24.95 kB / 1.255 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001937/1.566, allocations: 178.2 kB / 1.255 GB, free: 280.8 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001633/1.566, allocations: 52.3 kB / 1.255 GB, free: 280.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.001355/1.567, allocations: 0.5409 MB / 1.255 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005879/1.568, allocations: 175.9 kB / 1.255 GB, free: 280.4 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003809/1.572, allocations: 1.257 MB / 1.257 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-05/1.572, allocations: 8.969 kB / 1.257 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.539e-05/1.572, allocations: 8.781 kB / 1.257 GB, free: 280 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002847/1.575, allocations: 1.328 MB / 1.258 GB, free: 279.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.00784/1.583, allocations: 3.063 MB / 1.261 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.825e-06/1.583, allocations: 1.25 kB / 1.261 GB, free: 277.9 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00104/1.584, allocations: 201.3 kB / 1.261 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002285/1.584, allocations: 49.3 kB / 1.261 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.403e-05/1.584, allocations: 25.33 kB / 1.261 GB, free: 277.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001166/1.585, allocations: 1.426 MB / 1.263 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.246e-06/1.585, allocations: 5.125 kB / 1.263 GB, free: 276.4 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004093/1.589, allocations: 1.88 MB / 1.264 GB, free: 275.7 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008355/1.59, allocations: 340.2 kB / 1.265 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003454/1.59, allocations: 26.72 kB / 1.265 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001482/1.592, allocations: 155.5 kB / 1.265 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001579/1.592, allocations: 60.02 kB / 1.265 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.497e-05/1.592, allocations: 36.2 kB / 1.265 GB, free: 275.5 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001952/1.594, allocations: 1.049 MB / 1.266 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.51e-07/1.594, allocations: 0 / 1.266 GB, free: 275.1 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.003497/1.598, allocations: 0.9624 MB / 1.267 GB, free: 274.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.001626/1.599, allocations: 0.6084 MB / 1.268 GB, free: 274.8 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004649/1.604, allocations: 1.921 MB / 1.269 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 5.991e-06/1.604, allocations: 1.812 kB / 1.269 GB, free: 274.1 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001529/1.606, allocations: 0.663 MB / 1.27 GB, free: 273.7 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00474/1.61, allocations: 0.7822 MB / 1.271 GB, free: 273.3 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008461/1.619, allocations: 4.553 MB / 1.275 GB, free: 270.3 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001318/1.62, allocations: 1.489 MB / 1.277 GB, free: 269.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.002453/1.623, allocations: 454.1 kB / 1.277 GB, free: 269 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005446/1.623, allocations: 131.5 kB / 1.277 GB, free: 269 MB / 0.9981 GB Notification: Performance of SimCode: time 8.32e-07/1.623, allocations: 3.938 kB / 1.277 GB, free: 269 MB / 0.9981 GB Notification: Performance of Templates: time 0.04791/1.671, allocations: 30.51 MB / 1.307 GB, free: 244.2 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/jenkins/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