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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001004/0.001004, allocations: 99.58 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.001283/0.001283, allocations: 181.9 kB / 16.92 MB, free: 6.918 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.485/1.485, allocations: 223.3 MB / 241 MB, free: 5.266 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.735/2.735, allocations: 437.8 MB / 0.7128 GB, free: 7.062 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004214/0.0004216, allocations: 16 kB / 0.8735 GB, free: 3.34 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8219/0.8224, allocations: 153.8 MB / 1.024 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 1.073/1.896, allocations: 231 MB / 1.249 GB, free: 2.348 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.03126/1.927, allocations: 17.56 MB / 1.266 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005222/1.932, allocations: 79.97 kB / 1.267 GB, free: 2.133 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.01269/1.945, allocations: 4.362 MB / 1.271 GB, free: 2.031 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01366/1.959, allocations: 3.209 MB / 1.274 GB, free: 1.883 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.009951/1.969, allocations: 2.265 MB / 1.276 GB, free: 1.812 MB / 0.9825 GB [/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/Compiler/NFFrontEnd/NFCeval.mo:1080:9-1080:67:writable] Error: Internal error NFCeval.evalBinaryMul failed to evaluate ‘{0.0, 0.3240000000000001}[pressure.n] * 0.0‘ Notification: Performance of NFFlatten.flatten: time 0.01524/1.984, allocations: 9.515 MB / 1.285 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00357/1.988, allocations: 1.615 MB / 1.287 GB, free: 1.523 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006991/1.995, allocations: 2.316 MB / 1.289 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004596/1.999, allocations: 1.592 MB / 1.291 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0006188/2, allocations: 81 kB / 1.291 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.009951/2.01, allocations: 3.95 MB / 1.295 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001889/2.012, allocations: 0.7564 MB / 1.295 GB, free: 1.438 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.003055/2.015, allocations: 1.25 MB / 1.297 GB, free: 1.406 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.008325/2.023, allocations: 3.596 MB / 1.3 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 9.478e-06/2.023, allocations: 0 / 1.3 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.479e-06/2.023, allocations: 0 / 1.3 GB, free: 1.117 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 0.000214/2.024, allocations: 3.125 kB / 1.3 GB, free: 1.117 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: 337 * Number of variables: 337 Notification: Performance of Generate backend data structure: time 0.009049/2.033, allocations: 2.769 MB / 1.303 GB, free: 15.57 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 5.753e-05/2.033, allocations: 12.2 kB / 1.303 GB, free: 15.56 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006147/2.039, allocations: 0.9236 MB / 1.304 GB, free: 15.39 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006088/2.045, allocations: 2.678 MB / 1.306 GB, free: 14.8 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004462/2.046, allocations: 179.2 kB / 1.307 GB, free: 14.79 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003591/2.046, allocations: 146.2 kB / 1.307 GB, free: 14.78 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003693/2.05, allocations: 1.705 MB / 1.308 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.604e-05/2.05, allocations: 0 / 1.308 GB, free: 14.56 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001438/2.05, allocations: 57.31 kB / 1.308 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.347e-05/2.05, allocations: 55.23 kB / 1.309 GB, free: 14.55 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003686/2.054, allocations: 1.532 MB / 1.31 GB, free: 14.51 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 preOpt removeSimpleEquations (simulation): time 0.01353/2.067, allocations: 7.975 MB / 1.318 GB, free: 10.47 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002922/2.07, allocations: 1.644 MB / 1.319 GB, free: 9.754 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001184/2.071, allocations: 0.5425 MB / 1.32 GB, free: 9.738 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001392/2.073, allocations: 0.8128 MB / 1.321 GB, free: 8.98 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001353/2.074, allocations: 0.5704 MB / 1.321 GB, free: 8.918 MB / 0.9981 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001432/2.076, allocations: 130.8 kB / 1.321 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=84): time 4.158e-06/2.076, allocations: 0 / 1.321 GB, free: 8.871 MB / 0.9981 GB Notification: Performance of matching and sorting (n=84): time 0.004938/2.08, allocations: 1.705 MB / 1.323 GB, free: 8.559 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/2.081, allocations: 63.34 kB / 1.323 GB, free: 8.496 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005164/2.086, allocations: 2.149 MB / 1.325 GB, free: 7.895 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 0.0003066/2.086, allocations: 46.61 kB / 1.325 GB, free: 7.863 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.001401/2.087, allocations: 1.051 MB / 1.326 GB, free: 7.422 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.000533/2.088, allocations: 300.8 kB / 1.327 GB, free: 7.211 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003866/2.088, allocations: 163.2 kB / 1.327 GB, free: 7.168 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001156/2.089, allocations: 302.8 kB / 1.327 GB, free: 6.871 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001669/2.09, allocations: 0.6357 MB / 1.328 GB, free: 6.77 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001986/2.092, allocations: 1.041 MB / 1.329 GB, free: 6.223 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003498/2.096, allocations: 1.61 MB / 1.33 GB, free: 5.68 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.817e-05/2.096, allocations: 6.797 kB / 1.33 GB, free: 5.676 MB / 0.9981 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.004919/2.101, allocations: 1.956 MB / 1.332 GB, free: 5.262 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004071/2.101, allocations: 409.4 kB / 1.333 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.811e-05/2.101, allocations: 10.03 kB / 1.333 GB, free: 4.773 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.378e-05/2.101, allocations: 20.66 kB / 1.333 GB, free: 4.77 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001406/2.103, allocations: 340.7 kB / 1.333 GB, free: 4.719 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.642e-05/2.103, allocations: 30.52 kB / 1.333 GB, free: 4.711 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00264/2.105, allocations: 188.9 kB / 1.333 GB, free: 4.652 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/2.106, allocations: 60.64 kB / 1.333 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.223e-05/2.106, allocations: 4.75 kB / 1.333 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003784/2.109, allocations: 1.747 MB / 1.335 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.793e-05/2.109, allocations: 10.56 kB / 1.335 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.864e-05/2.109, allocations: 19.03 kB / 1.335 GB, free: 4.375 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001345/2.111, allocations: 339.6 kB / 1.335 GB, free: 4.324 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.408e-05/2.111, allocations: 28.14 kB / 1.335 GB, free: 4.312 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002463/2.113, allocations: 194.3 kB / 1.335 GB, free: 4.25 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/2.114, allocations: 61.86 kB / 1.336 GB, free: 4.246 MB / 0.9981 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 (167): * Single equations (assignments): 164 * 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.001706/2.115, allocations: 0.6428 MB / 1.336 GB, free: 4.008 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008362/2.116, allocations: 222.4 kB / 1.336 GB, free: 3.887 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003598/2.12, allocations: 1.236 MB / 1.338 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.3e-05/2.12, allocations: 8.375 kB / 1.338 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.161e-05/2.12, allocations: 0 / 1.338 GB, free: 3.574 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00258/2.122, allocations: 1.286 MB / 1.339 GB, free: 2.957 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.009057/2.131, allocations: 3.177 MB / 1.342 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/2.131, allocations: 0 / 1.342 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001032/2.132, allocations: 203.5 kB / 1.342 GB, free: 1.52 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002657/2.133, allocations: 49.17 kB / 1.342 GB, free: 1.488 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001015/2.133, allocations: 26.92 kB / 1.342 GB, free: 1.473 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001515/2.134, allocations: 1.424 MB / 1.344 GB, free: 52 kB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.336e-06/2.134, allocations: 4.062 kB / 1.344 GB, free: 48 kB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004609/2.139, allocations: 1.86 MB / 1.345 GB, free: 15.04 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001517/2.141, allocations: 395.5 kB / 1.346 GB, free: 14.73 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007605/2.141, allocations: 23.05 kB / 1.346 GB, free: 14.71 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002079/2.143, allocations: 155.1 kB / 1.346 GB, free: 14.64 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002032/2.144, allocations: 62.58 kB / 1.346 GB, free: 14.61 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001062/2.144, allocations: 37.19 kB / 1.346 GB, free: 14.6 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.003615/2.147, allocations: 1.426 MB / 1.347 GB, free: 13.83 MB / 1.014 GB Notification: Performance of sort global known variables: time 3.91e-07/2.147, allocations: 4 kB / 1.347 GB, free: 13.82 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.005558/2.153, allocations: 1.113 MB / 1.349 GB, free: 13.61 MB / 1.014 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 (84): * Single equations (assignments): 81 * 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.002489/2.156, allocations: 0.7406 MB / 1.349 GB, free: 13.29 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.006017/2.162, allocations: 2.39 MB / 1.352 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 1.066e-05/2.162, allocations: 0 / 1.352 GB, free: 12.21 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001641/2.163, allocations: 0.6383 MB / 1.352 GB, free: 11.87 MB / 1.014 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006782/2.17, allocations: 0.9471 MB / 1.353 GB, free: 11.4 MB / 1.014 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01259/2.183, allocations: 5.323 MB / 1.358 GB, free: 6.77 MB / 1.014 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002389/2.185, allocations: 1.653 MB / 1.36 GB, free: 5.082 MB / 1.014 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001136/2.186, allocations: 175.4 kB / 1.36 GB, free: 4.91 MB / 1.014 GB Notification: Performance of SimCode: time 1.563e-06/2.186, allocations: 4 kB / 1.36 GB, free: 4.906 MB / 1.014 GB Notification: Performance of Templates: time 0.07688/2.263, allocations: 40.47 MB / 1.4 GB, free: 12.7 MB / 1.061 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