Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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.001939/0.001939, allocations: 109.1 kB / 19.71 MB, free: 2.145 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.002168/0.002168, allocations: 216 kB / 23 MB, free: 4.969 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.729/1.729, allocations: 230.6 MB / 256.8 MB, free: 7.82 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.771/3.771, allocations: 0.49 GB / 0.7959 GB, free: 35.5 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_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|hea.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u") [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.003231/0.003231, allocations: 68.16 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6585/0.6618, allocations: 176.1 MB / 1.327 GB, free: 0.9414 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.AirHeater_u): time 0.3948/1.057, allocations: 232 MB / 1.554 GB, free: 8.109 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.04144/1.098, allocations: 17.53 MB / 1.571 GB, free: 6.535 MB / 1.264 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.007185/1.105, allocations: 134.9 kB / 1.571 GB, free: 6.402 MB / 1.264 GB Notification: Performance of NFTyping.typeComponents: time 0.00933/1.115, allocations: 2.247 MB / 1.573 GB, free: 4.148 MB / 1.264 GB Notification: Performance of NFTyping.typeBindings: time 0.01842/1.133, allocations: 4.384 MB / 1.577 GB, free: 15.75 MB / 1.279 GB Notification: Performance of NFTyping.typeClassSections: time 0.01051/1.143, allocations: 2.751 MB / 1.58 GB, free: 13 MB / 1.279 GB Notification: Performance of NFFlatten.flatten: time 0.01917/1.163, allocations: 8.79 MB / 1.589 GB, free: 4.195 MB / 1.279 GB Notification: Performance of NFFlatten.resolveConnections: time 0.005389/1.168, allocations: 1.695 MB / 1.59 GB, free: 2.445 MB / 1.279 GB Notification: Performance of NFEvalConstants.evaluate: time 0.01276/1.181, allocations: 3.512 MB / 1.594 GB, free: 14.92 MB / 1.295 GB Notification: Performance of NFSimplifyModel.simplify: time 0.006924/1.188, allocations: 1.928 MB / 1.596 GB, free: 13 MB / 1.295 GB Notification: Performance of NFPackage.collectConstants: time 0.001717/1.189, allocations: 239.9 kB / 1.596 GB, free: 12.76 MB / 1.295 GB Notification: Performance of NFFlatten.collectFunctions: time 0.01359/1.203, allocations: 3.581 MB / 1.599 GB, free: 9.172 MB / 1.295 GB Notification: Performance of NFScalarize.scalarize: time 0.003073/1.206, allocations: 1.005 MB / 1.6 GB, free: 8.164 MB / 1.295 GB Notification: Performance of NFVerifyModel.verify: time 0.005429/1.211, allocations: 1.217 MB / 1.602 GB, free: 6.941 MB / 1.295 GB Notification: Performance of NFConvertDAE.convert: time 0.02067/1.232, allocations: 5.435 MB / 1.607 GB, free: 1.488 MB / 1.295 GB Notification: Performance of FrontEnd - DAE generated: time 1.187e-05/1.232, allocations: 0 / 1.607 GB, free: 1.488 MB / 1.295 GB Notification: Performance of FrontEnd: time 4.027e-06/1.232, allocations: 4 kB / 1.607 GB, free: 1.484 MB / 1.295 GB Notification: Performance of Transformations before backend: time 0.0002943/1.232, allocations: 0 / 1.607 GB, free: 1.484 MB / 1.295 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 378 * Number of variables: 378 Notification: Performance of Generate backend data structure: time 1.565/2.797, allocations: 3.504 MB / 1.61 GB, free: 282.4 MB / 1.295 GB Notification: Performance of prepare preOptimizeDAE: time 8.85e-05/2.797, allocations: 8.438 kB / 1.61 GB, free: 282.4 MB / 1.295 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007495/2.805, allocations: 0.9161 MB / 1.611 GB, free: 282.2 MB / 1.295 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.008104/2.813, allocations: 2.79 MB / 1.614 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001976/2.813, allocations: 120 kB / 1.614 GB, free: 281 MB / 1.295 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000418/2.814, allocations: 169.9 kB / 1.614 GB, free: 280.9 MB / 1.295 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005794/2.82, allocations: 2.115 MB / 1.616 GB, free: 279.8 MB / 1.295 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.029e-05/2.82, allocations: 6.016 kB / 1.616 GB, free: 279.8 MB / 1.295 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001829/2.82, allocations: 62.94 kB / 1.616 GB, free: 279.7 MB / 1.295 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001034/2.82, allocations: 59.25 kB / 1.616 GB, free: 279.7 MB / 1.295 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00432/2.824, allocations: 1.569 MB / 1.618 GB, free: 279.2 MB / 1.295 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.01622/2.84, allocations: 5.934 MB / 1.624 GB, free: 275.9 MB / 1.295 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003965/2.844, allocations: 1.133 MB / 1.625 GB, free: 275.5 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002082/2.846, allocations: 0.6273 MB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000651/2.847, allocations: 71.62 kB / 1.625 GB, free: 275.3 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002161/2.849, allocations: 0.9205 MB / 1.626 GB, free: 274.7 MB / 1.295 GB Notification: Performance of pre-optimization done (n=97): time 7.274e-06/2.849, allocations: 0 / 1.626 GB, free: 274.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=100): time 0.01278/2.862, allocations: 3.61 MB / 1.63 GB, free: 273.1 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.877e-05/2.862, allocations: 64.66 kB / 1.63 GB, free: 273.1 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005031/2.867, allocations: 2.095 MB / 1.632 GB, free: 272.3 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001965/2.867, allocations: 54.5 kB / 1.632 GB, free: 272.2 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.00138/2.869, allocations: 1.108 MB / 1.633 GB, free: 271.4 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004868/2.869, allocations: 379.6 kB / 1.633 GB, free: 271.1 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0007585/2.87, allocations: 340 kB / 1.634 GB, free: 271 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001072/2.87, allocations: 306.8 kB / 1.634 GB, free: 270.7 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002065/2.872, allocations: 0.7555 MB / 1.635 GB, free: 270.4 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002333/2.874, allocations: 1.349 MB / 1.636 GB, free: 269.4 MB / 1.295 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.01909/2.894, allocations: 4.487 MB / 1.641 GB, free: 267.9 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.966e-05/2.894, allocations: 3.516 kB / 1.641 GB, free: 267.9 MB / 1.295 GB Notification: Performance of matching and sorting (n=218) (initialization): time 0.006286/2.9, allocations: 2.201 MB / 1.643 GB, free: 267 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.054e-05/2.9, allocations: 35.33 kB / 1.643 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.156e-05/2.9, allocations: 12.05 kB / 1.643 GB, free: 267 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002645/2.9, allocations: 42.28 kB / 1.643 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001567/2.902, allocations: 345.7 kB / 1.643 GB, free: 266.9 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001495/2.903, allocations: 1.553 MB / 1.645 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002912/2.906, allocations: 101.6 kB / 1.645 GB, free: 265.4 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001655/2.906, allocations: 63.16 kB / 1.645 GB, free: 265.4 MB / 1.295 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.003061/2.909, allocations: 1.293 MB / 1.646 GB, free: 264.8 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00161/2.911, allocations: 1.349 MB / 1.647 GB, free: 263.7 MB / 1.295 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (hea.vol.dynBal.p_start = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01432/2.925, allocations: 4.467 MB / 1.652 GB, free: 259.7 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.638e-06/2.925, allocations: 12.72 kB / 1.652 GB, free: 259.7 MB / 1.295 GB Notification: Performance of matching and sorting (n=218) (initialization_lambda0): time 0.004112/2.929, allocations: 2.186 MB / 1.654 GB, free: 257.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.38e-05/2.93, allocations: 35.42 kB / 1.654 GB, free: 257.5 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.542e-05/2.93, allocations: 11.98 kB / 1.654 GB, free: 257.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001497/2.93, allocations: 52.84 kB / 1.654 GB, free: 257.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001298/2.931, allocations: 339.5 kB / 1.654 GB, free: 257.1 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001116/2.932, allocations: 1.547 MB / 1.656 GB, free: 255.4 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002446/2.935, allocations: 116.4 kB / 1.656 GB, free: 255.3 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001137/2.935, allocations: 64.75 kB / 1.656 GB, free: 255.2 MB / 1.295 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization_lambda0 system: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.TSet.count,$PRE.TSet.T_start,TSet.count,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 (180): * Single equations (assignments): 175 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * 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,3,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0006143/2.935, allocations: 276.9 kB / 1.656 GB, free: 255 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003703/2.936, allocations: 237.3 kB / 1.656 GB, free: 254.7 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003133/2.939, allocations: 1.435 MB / 1.658 GB, free: 253.3 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002243/2.941, allocations: 1.169 MB / 1.659 GB, free: 252.1 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.436e-06/2.941, allocations: 4 kB / 1.659 GB, free: 252.1 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00112/2.942, allocations: 358.3 kB / 1.659 GB, free: 251.8 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002675/2.942, allocations: 24 kB / 1.659 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001192/2.944, allocations: 80.45 kB / 1.659 GB, free: 251.7 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001665/2.944, allocations: 80.86 kB / 1.66 GB, free: 251.6 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003446/2.947, allocations: 1.508 MB / 1.661 GB, free: 250.1 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003461/2.951, allocations: 2.163 MB / 1.663 GB, free: 247.9 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001056/2.952, allocations: 0.5504 MB / 1.664 GB, free: 247.3 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.00214/2.954, allocations: 1.386 MB / 1.665 GB, free: 245.9 MB / 1.295 GB Notification: Performance of Backend: time 1.383e-06/2.954, allocations: 0 / 1.665 GB, free: 245.9 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.008004/2.962, allocations: 3.318 MB / 1.668 GB, free: 242.6 MB / 1.295 GB Notification: Performance of SimCode: time 0.009789/2.972, allocations: 5.644 MB / 1.674 GB, free: 237 MB / 1.295 GB Notification: Performance of Templates: time 0.09415/3.066, allocations: 65.03 MB / 1.737 GB, free: 172.9 MB / 1.295 GB " [Timeout remaining time 297] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_AirHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.AirHeater_u.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: 16.055626002998906]