Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001613/0.001613, allocations: 95.92 kB / 19.7 MB, free: 2.129 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001831/0.001831, allocations: 212 kB / 23 MB, free: 4.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.827/1.827, allocations: 230.6 MB / 256.8 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.765/3.765, allocations: 0.49 GB / 0.7959 GB, free: 35.58 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.TSet|hea.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002172/0.002172, allocations: 66.59 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6043/0.6064, allocations: 176.1 MB / 1.327 GB, free: 1.047 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_T): time 0.3373/0.9438, allocations: 210 MB / 1.532 GB, free: 14.3 MB / 1.232 GB Notification: Performance of NFInst.instExpressions: time 0.03693/0.9807, allocations: 16.43 MB / 1.548 GB, free: 13.83 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006115/0.9868, allocations: 123 kB / 1.548 GB, free: 13.71 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.009002/0.9958, allocations: 2.141 MB / 1.55 GB, free: 11.57 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.01541/1.011, allocations: 3.762 MB / 1.554 GB, free: 7.793 MB / 1.248 GB Notification: Performance of NFTyping.typeClassSections: time 0.009803/1.021, allocations: 2.673 MB / 1.557 GB, free: 5.129 MB / 1.248 GB Notification: Performance of NFFlatten.flatten: time 0.01708/1.038, allocations: 7.831 MB / 1.564 GB, free: 13.28 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004081/1.042, allocations: 1.525 MB / 1.566 GB, free: 11.71 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01062/1.053, allocations: 3.384 MB / 1.569 GB, free: 8.312 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005583/1.058, allocations: 1.694 MB / 1.571 GB, free: 6.617 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.001218/1.06, allocations: 200 kB / 1.571 GB, free: 6.422 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01028/1.07, allocations: 3.079 MB / 1.574 GB, free: 3.336 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001976/1.072, allocations: 0.8916 MB / 1.575 GB, free: 2.441 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.003039/1.075, allocations: 1.077 MB / 1.576 GB, free: 1.359 MB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.01404/1.089, allocations: 4.768 MB / 1.581 GB, free: 12.57 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 1.15e-05/1.089, allocations: 0 / 1.581 GB, free: 12.57 MB / 1.279 GB Notification: Performance of FrontEnd: time 3.616e-06/1.089, allocations: 0 / 1.581 GB, free: 12.57 MB / 1.279 GB Notification: Performance of Transformations before backend: time 0.000251/1.089, allocations: 0 / 1.581 GB, free: 12.57 MB / 1.279 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01125/1.1, allocations: 3.232 MB / 1.584 GB, free: 9.277 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.397e-05/1.101, allocations: 8.031 kB / 1.584 GB, free: 9.27 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005624/1.106, allocations: 0.8919 MB / 1.585 GB, free: 8.375 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006476/1.113, allocations: 2.647 MB / 1.587 GB, free: 5.648 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001479/1.113, allocations: 102.6 kB / 1.587 GB, free: 5.547 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002676/1.113, allocations: 148 kB / 1.587 GB, free: 5.402 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003977/1.117, allocations: 1.843 MB / 1.589 GB, free: 3.438 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.02e-05/1.117, allocations: 0 / 1.589 GB, free: 3.438 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001503/1.117, allocations: 63.98 kB / 1.589 GB, free: 3.375 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.329e-05/1.117, allocations: 46.48 kB / 1.589 GB, free: 3.328 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003607/1.121, allocations: 1.438 MB / 1.591 GB, free: 1.883 MB / 1.279 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.01248/1.133, allocations: 5.637 MB / 1.596 GB, free: 12.08 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002844/1.136, allocations: 1.023 MB / 1.597 GB, free: 11.05 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001209/1.137, allocations: 490.5 kB / 1.598 GB, free: 10.57 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001066/1.138, allocations: 180.4 kB / 1.598 GB, free: 10.4 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001484/1.14, allocations: 0.6897 MB / 1.599 GB, free: 9.656 MB / 1.295 GB Notification: Performance of pre-optimization done (n=80): time 5.43e-06/1.14, allocations: 0 / 1.599 GB, free: 9.656 MB / 1.295 GB Notification: Performance of matching and sorting (n=80): time 0.004897/1.145, allocations: 1.551 MB / 1.6 GB, free: 8.094 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.25e-05/1.145, allocations: 64 kB / 1.6 GB, free: 8.02 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003743/1.149, allocations: 2.134 MB / 1.602 GB, free: 5.859 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/1.149, allocations: 46.66 kB / 1.602 GB, free: 5.809 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.001326/1.15, allocations: 1.076 MB / 1.603 GB, free: 4.719 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004074/1.151, allocations: 305.4 kB / 1.604 GB, free: 4.418 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005669/1.151, allocations: 310.8 kB / 1.604 GB, free: 4.109 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001621/1.151, allocations: 301.1 kB / 1.604 GB, free: 3.812 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001353/1.153, allocations: 0.6408 MB / 1.605 GB, free: 3.164 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001975/1.155, allocations: 1.261 MB / 1.606 GB, free: 1.684 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002945/1.158, allocations: 1.541 MB / 1.608 GB, free: 8 kB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.12e-05/1.158, allocations: 7.938 kB / 1.608 GB, free: 0 / 1.295 GB Notification: Performance of matching and sorting (n=196) (initialization): time 1.476/2.634, allocations: 1.923 MB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 8.719e-05/2.634, allocations: 39.17 kB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.235e-05/2.634, allocations: 10.91 kB / 1.609 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.205e-05/2.634, allocations: 16.17 kB / 1.61 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001609/2.636, allocations: 315.9 kB / 1.61 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.816e-05/2.636, allocations: 22.09 kB / 1.61 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002212/2.638, allocations: 187.1 kB / 1.61 GB, free: 279 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001691/2.638, allocations: 58.86 kB / 1.61 GB, free: 279 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003066/2.641, allocations: 1.123 MB / 1.611 GB, free: 278.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002235/2.644, allocations: 1.257 MB / 1.612 GB, free: 278.1 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.003524/2.647, allocations: 1.545 MB / 1.614 GB, free: 277.3 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 1.35e-05/2.647, allocations: 3.312 kB / 1.614 GB, free: 277.3 MB / 1.295 GB Notification: Performance of matching and sorting (n=196) (initialization_lambda0): time 0.004814/2.652, allocations: 1.937 MB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.829e-05/2.652, allocations: 36.95 kB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.249e-05/2.652, allocations: 9.375 kB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.13e-05/2.652, allocations: 22.62 kB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001482/2.654, allocations: 309.2 kB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.602e-05/2.654, allocations: 25.05 kB / 1.616 GB, free: 276.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001986/2.656, allocations: 168.7 kB / 1.616 GB, free: 276.5 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001631/2.656, allocations: 53.97 kB / 1.616 GB, free: 276.5 MB / 1.295 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 (162): * Single equations (assignments): 159 * 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.0005998/2.656, allocations: 263.2 kB / 1.617 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004355/2.657, allocations: 219.6 kB / 1.617 GB, free: 276.2 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003911/2.661, allocations: 1.176 MB / 1.618 GB, free: 275.8 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00337/2.664, allocations: 1.232 MB / 1.619 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/2.664, allocations: 1.547 kB / 1.619 GB, free: 275.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/2.665, allocations: 328.8 kB / 1.62 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002611/2.665, allocations: 16.06 kB / 1.62 GB, free: 274.9 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001039/2.666, allocations: 69.7 kB / 1.62 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002721/2.667, allocations: 58 kB / 1.62 GB, free: 274.8 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.004803/2.672, allocations: 1.191 MB / 1.621 GB, free: 274.4 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00505/2.677, allocations: 1.764 MB / 1.623 GB, free: 273.6 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001256/2.678, allocations: 439.7 kB / 1.623 GB, free: 273.5 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00348/2.681, allocations: 1.408 MB / 1.624 GB, free: 273 MB / 1.295 GB Notification: Performance of Backend: time 3.7e-07/2.681, allocations: 3.938 kB / 1.624 GB, free: 273 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.01158/2.693, allocations: 3.022 MB / 1.627 GB, free: 272.1 MB / 1.295 GB Notification: Performance of SimCode: time 0.01237/2.705, allocations: 5.169 MB / 1.632 GB, free: 269.5 MB / 1.295 GB Notification: Performance of Templates: time 0.1009/2.806, allocations: 56.5 MB / 1.688 GB, free: 223.8 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_T.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 15.353535482019652]