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.001452/0.001452, allocations: 109.8 kB / 16.41 MB, free: 6.512 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.00156/0.00156, allocations: 188.3 kB / 17.35 MB, free: 5.734 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.386/1.386, allocations: 222.9 MB / 241 MB, free: 15.16 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.585/2.585, allocations: 437.1 MB / 0.7112 GB, free: 4.363 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001435/0.001435, allocations: 68.11 kB / 1.019 GB, free: 9.391 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8308/0.8323, allocations: 151.6 MB / 1.167 GB, free: 3.961 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.242/1.074, allocations: 236.4 MB / 1.398 GB, free: 6.66 MB / 1.123 GB Notification: Performance of NFInst.instExpressions: time 0.02739/1.102, allocations: 17.55 MB / 1.415 GB, free: 5.062 MB / 1.139 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002859/1.105, allocations: 91.5 kB / 1.415 GB, free: 4.973 MB / 1.139 GB Notification: Performance of NFTyping.typeComponents: time 0.006072/1.111, allocations: 2.145 MB / 1.418 GB, free: 2.82 MB / 1.139 GB Notification: Performance of NFTyping.typeBindings: time 0.009959/1.121, allocations: 3.715 MB / 1.421 GB, free: 15.09 MB / 1.154 GB Notification: Performance of NFTyping.typeClassSections: time 0.007219/1.128, allocations: 2.589 MB / 1.424 GB, free: 12.52 MB / 1.154 GB Notification: Performance of NFFlatten.flatten: time 0.01314/1.141, allocations: 7.887 MB / 1.431 GB, free: 4.609 MB / 1.154 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004573/1.146, allocations: 1.938 MB / 1.433 GB, free: 2.625 MB / 1.154 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00707/1.153, allocations: 2.775 MB / 1.436 GB, free: 15.84 MB / 1.17 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004199/1.157, allocations: 1.63 MB / 1.438 GB, free: 14.21 MB / 1.17 GB Notification: Performance of NFPackage.collectConstants: time 0.001051/1.158, allocations: 208 kB / 1.438 GB, free: 14.01 MB / 1.17 GB Notification: Performance of NFFlatten.collectFunctions: time 0.008123/1.166, allocations: 3.617 MB / 1.441 GB, free: 10.38 MB / 1.17 GB Notification: Performance of NFScalarize.scalarize: time 0.001458/1.168, allocations: 0.888 MB / 1.442 GB, free: 9.492 MB / 1.17 GB Notification: Performance of NFVerifyModel.verify: time 0.002923/1.171, allocations: 1.395 MB / 1.444 GB, free: 8.09 MB / 1.17 GB Notification: Performance of NFConvertDAE.convert: time 0.01046/1.181, allocations: 4.92 MB / 1.448 GB, free: 3.152 MB / 1.17 GB Notification: Performance of FrontEnd - DAE generated: time 6.973e-06/1.181, allocations: 3.938 kB / 1.448 GB, free: 3.148 MB / 1.17 GB Notification: Performance of FrontEnd: time 3.186e-06/1.181, allocations: 0 / 1.448 GB, free: 3.148 MB / 1.17 GB Notification: Performance of Transformations before backend: time 0.0001696/1.181, allocations: 0 / 1.448 GB, free: 3.148 MB / 1.17 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.008705/1.19, allocations: 3.354 MB / 1.452 GB, free: 15.71 MB / 1.186 GB Notification: Performance of prepare preOptimizeDAE: time 5.149e-05/1.19, allocations: 15.98 kB / 1.452 GB, free: 15.7 MB / 1.186 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005891/1.196, allocations: 0.8919 MB / 1.453 GB, free: 14.8 MB / 1.186 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006068/1.202, allocations: 2.816 MB / 1.455 GB, free: 11.91 MB / 1.186 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001383/1.202, allocations: 110.6 kB / 1.455 GB, free: 11.8 MB / 1.186 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004484/1.203, allocations: 144 kB / 1.456 GB, free: 11.66 MB / 1.186 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004182/1.207, allocations: 1.668 MB / 1.457 GB, free: 9.914 MB / 1.186 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.15e-05/1.207, allocations: 0 / 1.457 GB, free: 9.914 MB / 1.186 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001953/1.207, allocations: 60 kB / 1.457 GB, free: 9.855 MB / 1.186 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.491e-05/1.207, allocations: 46.52 kB / 1.457 GB, free: 9.809 MB / 1.186 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003875/1.211, allocations: 1.446 MB / 1.459 GB, free: 8.355 MB / 1.186 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.01315/1.224, allocations: 8.133 MB / 1.467 GB, free: 15.64 MB / 1.201 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002942/1.227, allocations: 1.56 MB / 1.468 GB, free: 13.94 MB / 1.201 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001265/1.229, allocations: 0.5116 MB / 1.469 GB, free: 13.43 MB / 1.201 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001367/1.23, allocations: 0.7785 MB / 1.469 GB, free: 12.5 MB / 1.201 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001306/1.231, allocations: 0.5353 MB / 1.47 GB, free: 11.96 MB / 1.201 GB Notification: Performance of pre-optimization done (n=82): time 3.937e-06/1.231, allocations: 4 kB / 1.47 GB, free: 11.95 MB / 1.201 GB Notification: Performance of matching and sorting (n=82): time 0.004636/1.236, allocations: 1.615 MB / 1.471 GB, free: 10.31 MB / 1.201 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.626e-05/1.236, allocations: 60.06 kB / 1.472 GB, free: 10.24 MB / 1.201 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00377/1.24, allocations: 2.156 MB / 1.474 GB, free: 8.059 MB / 1.201 GB Notification: Performance of collectPreVariables (initialization): time 0.0001733/1.24, allocations: 49.7 kB / 1.474 GB, free: 8.004 MB / 1.201 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.241, allocations: 1.076 MB / 1.475 GB, free: 6.914 MB / 1.201 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003502/1.242, allocations: 313.4 kB / 1.475 GB, free: 6.605 MB / 1.201 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005703/1.242, allocations: 322.7 kB / 1.475 GB, free: 6.285 MB / 1.201 GB Notification: Performance of setup shared object (initialization): time 0.0001029/1.242, allocations: 309 kB / 1.476 GB, free: 5.98 MB / 1.201 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001381/1.244, allocations: 0.6196 MB / 1.476 GB, free: 5.359 MB / 1.201 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001682/1.245, allocations: 1.01 MB / 1.477 GB, free: 4.195 MB / 1.201 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002817/1.248, allocations: 1.559 MB / 1.479 GB, free: 2.512 MB / 1.201 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.125e-05/1.248, allocations: 4 kB / 1.479 GB, free: 2.508 MB / 1.201 GB Notification: Performance of matching and sorting (n=199) (initialization): time 0.003992/1.252, allocations: 1.903 MB / 1.481 GB, free: 0.5859 MB / 1.201 GB Notification: Performance of prepare postOptimizeDAE: time 6.735e-05/1.252, allocations: 41.69 kB / 1.481 GB, free: 0.5391 MB / 1.201 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/1.252, allocations: 12.91 kB / 1.481 GB, free: 0.5273 MB / 1.201 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.342e-05/1.252, allocations: 16 kB / 1.481 GB, free: 0.5117 MB / 1.201 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001326/1.254, allocations: 319.5 kB / 1.481 GB, free: 204 kB / 1.201 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.353e-05/1.254, allocations: 23.92 kB / 1.481 GB, free: 180 kB / 1.201 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001744/1.255, allocations: 183 kB / 1.481 GB, free: 15.99 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001225/1.256, allocations: 59.94 kB / 1.481 GB, free: 15.94 MB / 1.217 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002185/1.258, allocations: 1.116 MB / 1.482 GB, free: 14.82 MB / 1.217 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001611/1.259, allocations: 1.003 MB / 1.483 GB, free: 13.66 MB / 1.217 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00274/1.262, allocations: 1.554 MB / 1.485 GB, free: 11.97 MB / 1.217 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.15e-05/1.262, allocations: 4 kB / 1.485 GB, free: 11.96 MB / 1.217 GB Notification: Performance of matching and sorting (n=199) (initialization_lambda0): time 0.004051/1.266, allocations: 1.914 MB / 1.487 GB, free: 10.04 MB / 1.217 GB Notification: Performance of prepare postOptimizeDAE: time 4.186e-05/1.266, allocations: 41.69 kB / 1.487 GB, free: 9.996 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.526e-05/1.266, allocations: 8 kB / 1.487 GB, free: 9.988 MB / 1.217 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/1.266, allocations: 16 kB / 1.487 GB, free: 9.973 MB / 1.217 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001327/1.268, allocations: 323.6 kB / 1.487 GB, free: 9.656 MB / 1.217 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.879e-05/1.268, allocations: 23.92 kB / 1.487 GB, free: 9.633 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001839/1.27, allocations: 159.3 kB / 1.487 GB, free: 9.477 MB / 1.217 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001312/1.27, allocations: 63.98 kB / 1.487 GB, free: 9.414 MB / 1.217 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.0003612/1.27, allocations: 263.8 kB / 1.488 GB, free: 9.148 MB / 1.217 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005271/1.271, allocations: 222.5 kB / 1.488 GB, free: 8.93 MB / 1.217 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003149/1.274, allocations: 1.192 MB / 1.489 GB, free: 7.723 MB / 1.217 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002386/1.276, allocations: 1.231 MB / 1.49 GB, free: 6.402 MB / 1.217 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/1.276, allocations: 0 / 1.49 GB, free: 6.402 MB / 1.217 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009682/1.277, allocations: 411.3 kB / 1.491 GB, free: 5.98 MB / 1.217 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004561/1.278, allocations: 20 kB / 1.491 GB, free: 5.961 MB / 1.217 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00131/1.279, allocations: 71.92 kB / 1.491 GB, free: 5.891 MB / 1.217 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/1.279, allocations: 56.86 kB / 1.491 GB, free: 5.836 MB / 1.217 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003406/1.283, allocations: 1.197 MB / 1.492 GB, free: 4.629 MB / 1.217 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004328/1.287, allocations: 1.825 MB / 1.494 GB, free: 2.789 MB / 1.217 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001114/1.288, allocations: 483.7 kB / 1.494 GB, free: 2.316 MB / 1.217 GB Notification: Performance of sorting global known variables: time 0.002878/1.291, allocations: 1.441 MB / 1.496 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of Backend: time 9.61e-07/1.291, allocations: 0 / 1.496 GB, free: 0.8633 MB / 1.217 GB Notification: Performance of simCode: created initialization part: time 0.00889/1.3, allocations: 3.132 MB / 1.499 GB, free: 13.86 MB / 1.232 GB Notification: Performance of SimCode: time 0.01092/1.311, allocations: 5.175 MB / 1.504 GB, free: 8.641 MB / 1.232 GB Notification: Performance of Templates: time 0.08665/1.397, allocations: 50.68 MB / 1.553 GB, free: 6.367 MB / 1.279 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