Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.0007764/0.0007763, allocations: 90.52 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.005002/0.005002, allocations: 173.9 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.357/1.357, allocations: 223.3 MB / 240.3 MB, free: 5.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.737/2.737, allocations: 462.7 MB / 0.7364 GB, free: 268 kB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.0005077/0.0005078, allocations: 14.75 kB / 0.9028 GB, free: 36.69 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2899/0.2904, allocations: 159.6 MB / 1.059 GB, free: 5.465 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.9372/1.228, allocations: 231 MB / 1.284 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02842/1.256, allocations: 17.54 MB / 1.301 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004553/1.261, allocations: 80.41 kB / 1.301 GB, free: 2.402 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.01051/1.271, allocations: 4.361 MB / 1.306 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.01011/1.281, allocations: 3.214 MB / 1.309 GB, free: 2.129 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.007301/1.289, allocations: 2.27 MB / 1.311 GB, free: 2.051 MB / 0.9981 GB [/var/lib/jenkins/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.0141/1.303, allocations: 9.52 MB / 1.32 GB, free: 2 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003902/1.307, allocations: 1.61 MB / 1.322 GB, free: 17.75 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006561/1.313, allocations: 2.314 MB / 1.324 GB, free: 17.71 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004014/1.317, allocations: 1.589 MB / 1.326 GB, free: 17.7 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 0.0008134/1.318, allocations: 85 kB / 1.326 GB, free: 17.7 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008688/1.327, allocations: 3.949 MB / 1.33 GB, free: 17.66 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 0.001713/1.329, allocations: 0.757 MB / 1.33 GB, free: 17.66 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 0.003775/1.332, allocations: 1.248 MB / 1.332 GB, free: 17.53 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.01095/1.343, allocations: 4.861 MB / 1.336 GB, free: 16.91 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 5.941e-06/1.344, allocations: 3.562 kB / 1.336 GB, free: 16.91 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.803e-06/1.344, allocations: 0 / 1.336 GB, free: 16.91 MB / 1.014 GB Notification: Performance of Transformations before backend: time 0.0001558/1.344, allocations: 1.75 kB / 1.336 GB, free: 16.91 MB / 1.014 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.00639/1.35, allocations: 2.769 MB / 1.339 GB, free: 15.34 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 4.413e-05/1.35, allocations: 8.625 kB / 1.339 GB, free: 15.34 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005931/1.356, allocations: 0.9272 MB / 1.34 GB, free: 15.16 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005579/1.362, allocations: 2.683 MB / 1.343 GB, free: 14.57 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004543/1.362, allocations: 173.5 kB / 1.343 GB, free: 14.56 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004863/1.363, allocations: 154.1 kB / 1.343 GB, free: 14.55 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00415/1.367, allocations: 1.699 MB / 1.345 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.714e-05/1.367, allocations: 3 kB / 1.345 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001893/1.367, allocations: 56.28 kB / 1.345 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.021e-05/1.367, allocations: 50.75 kB / 1.345 GB, free: 14.32 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004124/1.371, allocations: 1.53 MB / 1.346 GB, free: 14.04 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.01357/1.385, allocations: 7.983 MB / 1.354 GB, free: 8.828 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002921/1.388, allocations: 1.641 MB / 1.356 GB, free: 7.957 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001177/1.389, allocations: 0.5487 MB / 1.356 GB, free: 7.863 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001393/1.39, allocations: 0.8062 MB / 1.357 GB, free: 7.047 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001329/1.392, allocations: 0.5821 MB / 1.358 GB, free: 6.855 MB / 1.014 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.001075/1.393, allocations: 132.5 kB / 1.358 GB, free: 6.789 MB / 1.014 GB Notification: Performance of pre-optimization done (n=84): time 4.569e-06/1.393, allocations: 2.938 kB / 1.358 GB, free: 6.789 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.004582/1.398, allocations: 1.699 MB / 1.359 GB, free: 6.285 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.295e-05/1.398, allocations: 64.97 kB / 1.359 GB, free: 6.219 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003833/1.401, allocations: 2.141 MB / 1.361 GB, free: 5.625 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.0001436/1.402, allocations: 51.42 kB / 1.362 GB, free: 5.594 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.001032/1.403, allocations: 1.05 MB / 1.363 GB, free: 5.148 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003101/1.403, allocations: 303.4 kB / 1.363 GB, free: 4.938 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002243/1.403, allocations: 156.5 kB / 1.363 GB, free: 4.895 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001217/1.403, allocations: 305.1 kB / 1.363 GB, free: 4.594 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001385/1.405, allocations: 0.6394 MB / 1.364 GB, free: 4.492 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001652/1.406, allocations: 1.038 MB / 1.365 GB, free: 3.941 MB / 1.014 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002928/1.409, allocations: 1.603 MB / 1.366 GB, free: 3.395 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.249e-05/1.409, allocations: 6.312 kB / 1.366 GB, free: 3.391 MB / 1.014 GB Notification: Performance of matching and sorting (n=201) (initialization): time 0.003932/1.413, allocations: 1.963 MB / 1.368 GB, free: 2.973 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003218/1.414, allocations: 401.3 kB / 1.369 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/1.414, allocations: 9.156 kB / 1.369 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.098e-05/1.414, allocations: 17.03 kB / 1.369 GB, free: 2.492 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001316/1.415, allocations: 341.7 kB / 1.369 GB, free: 2.441 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.999e-05/1.415, allocations: 17.53 kB / 1.369 GB, free: 2.441 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002112/1.417, allocations: 199.2 kB / 1.369 GB, free: 2.375 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.417, allocations: 64.86 kB / 1.369 GB, free: 2.371 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.218e-05/1.417, allocations: 2.781 kB / 1.369 GB, free: 2.371 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00359/1.421, allocations: 1.752 MB / 1.371 GB, free: 1.66 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.795e-05/1.421, allocations: 13.75 kB / 1.371 GB, free: 1.656 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.422e-05/1.421, allocations: 15.88 kB / 1.371 GB, free: 1.656 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001281/1.422, allocations: 340.9 kB / 1.371 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.822e-05/1.422, allocations: 19.97 kB / 1.371 GB, free: 1.594 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002022/1.424, allocations: 198.1 kB / 1.372 GB, free: 1.508 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/1.424, allocations: 56.5 kB / 1.372 GB, free: 1.496 MB / 1.014 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.00127/1.426, allocations: 0.6556 MB / 1.372 GB, free: 1.039 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005258/1.426, allocations: 224.6 kB / 1.373 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003135/1.429, allocations: 1.229 MB / 1.374 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.976e-06/1.429, allocations: 7.656 kB / 1.374 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.947e-06/1.429, allocations: 1.812 kB / 1.374 GB, free: 260 kB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002462/1.432, allocations: 1.297 MB / 1.375 GB, free: 15.38 MB / 1.029 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.007049/1.439, allocations: 3.179 MB / 1.378 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/1.439, allocations: 3.312 kB / 1.378 GB, free: 13.32 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009998/1.44, allocations: 196.1 kB / 1.378 GB, free: 13.28 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002386/1.44, allocations: 51.84 kB / 1.378 GB, free: 13.25 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.437e-05/1.44, allocations: 29.11 kB / 1.378 GB, free: 13.23 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/1.442, allocations: 1.415 MB / 1.38 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.916e-06/1.442, allocations: 6.094 kB / 1.38 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004153/1.446, allocations: 1.862 MB / 1.382 GB, free: 10.79 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001153/1.447, allocations: 394.7 kB / 1.382 GB, free: 10.48 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005951/1.448, allocations: 17.69 kB / 1.382 GB, free: 10.46 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001718/1.449, allocations: 160.3 kB / 1.382 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001805/1.45, allocations: 70.22 kB / 1.382 GB, free: 10.36 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.874e-05/1.45, allocations: 26.8 kB / 1.382 GB, free: 10.35 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.002888/1.453, allocations: 1.428 MB / 1.384 GB, free: 9.578 MB / 1.029 GB Notification: Performance of sort global known variables: time 2.71e-07/1.453, allocations: 0 / 1.384 GB, free: 9.578 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.003899/1.457, allocations: 1.119 MB / 1.385 GB, free: 9.359 MB / 1.029 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.002223/1.459, allocations: 0.7407 MB / 1.385 GB, free: 9.023 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.005231/1.464, allocations: 2.385 MB / 1.388 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.631e-06/1.464, allocations: 0 / 1.388 GB, free: 6.832 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.001506/1.466, allocations: 0.6519 MB / 1.388 GB, free: 6.188 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005806/1.471, allocations: 0.9611 MB / 1.389 GB, free: 5.242 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01058/1.482, allocations: 5.161 MB / 1.394 GB, free: 40 kB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001945/1.484, allocations: 1.664 MB / 1.396 GB, free: 14.34 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.002849/1.487, allocations: 0.5636 MB / 1.397 GB, free: 13.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006648/1.488, allocations: 159.4 kB / 1.397 GB, free: 13.61 MB / 1.045 GB Notification: Performance of SimCode: time 7.51e-07/1.488, allocations: 0 / 1.397 GB, free: 13.61 MB / 1.045 GB Notification: Performance of Templates: time 0.06702/1.555, allocations: 37.88 MB / 1.434 GB, free: 8.285 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches