Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_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.001781/0.001781, 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.001631/0.001631, allocations: 214.3 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.67/1.67, 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.61/3.61, allocations: 0.49 GB / 0.7959 GB, free: 35.44 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.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u") translateModel(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|con1.u_s|con1.u_m|con2.u_m|con1.y|con2.y",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_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.002082/0.002082, allocations: 76.84 kB / 1.155 GB, free: 25.19 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4417/0.4438, allocations: 176.1 MB / 1.327 GB, free: 0.9727 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u): time 0.3193/0.7631, allocations: 227.4 MB / 1.549 GB, free: 12.74 MB / 1.248 GB Notification: Performance of NFInst.instExpressions: time 0.02077/0.7839, allocations: 9.057 MB / 1.558 GB, free: 3.668 MB / 1.248 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003844/0.7877, allocations: 107.1 kB / 1.558 GB, free: 3.562 MB / 1.248 GB Notification: Performance of NFTyping.typeComponents: time 0.003361/0.7911, allocations: 0.9395 MB / 1.559 GB, free: 2.617 MB / 1.248 GB Notification: Performance of NFTyping.typeBindings: time 0.009975/0.8011, allocations: 2.769 MB / 1.562 GB, free: 15.83 MB / 1.264 GB Notification: Performance of NFTyping.typeClassSections: time 0.007292/0.8084, allocations: 2.183 MB / 1.564 GB, free: 13.66 MB / 1.264 GB Notification: Performance of NFFlatten.flatten: time 0.007969/0.8163, allocations: 4.202 MB / 1.568 GB, free: 9.453 MB / 1.264 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002854/0.8192, allocations: 1.229 MB / 1.569 GB, free: 8.184 MB / 1.264 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007051/0.8262, allocations: 2.32 MB / 1.571 GB, free: 5.855 MB / 1.264 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00407/0.8303, allocations: 1.349 MB / 1.573 GB, free: 4.508 MB / 1.264 GB Notification: Performance of NFPackage.collectConstants: time 0.0005236/0.8308, allocations: 176 kB / 1.573 GB, free: 4.336 MB / 1.264 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007067/0.8379, allocations: 2.623 MB / 1.575 GB, free: 1.707 MB / 1.264 GB Notification: Performance of NFScalarize.scalarize: time 0.001221/0.8391, allocations: 0.6073 MB / 1.576 GB, free: 1.098 MB / 1.264 GB Notification: Performance of NFVerifyModel.verify: time 0.001997/0.8411, allocations: 0.8321 MB / 1.577 GB, free: 268 kB / 1.264 GB Notification: Performance of NFConvertDAE.convert: time 0.008698/0.8498, allocations: 3.64 MB / 1.58 GB, free: 12.61 MB / 1.279 GB Notification: Performance of FrontEnd - DAE generated: time 7.113e-06/0.8498, allocations: 0 / 1.58 GB, free: 12.61 MB / 1.279 GB Notification: Performance of FrontEnd: time 2.315e-06/0.8498, allocations: 0 / 1.58 GB, free: 12.61 MB / 1.279 GB Notification: Performance of Transformations before backend: time 4.635e-05/0.8499, allocations: 0 / 1.58 GB, free: 12.61 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: 294 * Number of variables: 294 Notification: Performance of Generate backend data structure: time 0.006768/0.8566, allocations: 2.471 MB / 1.583 GB, free: 10.07 MB / 1.279 GB Notification: Performance of prepare preOptimizeDAE: time 7.869e-05/0.8567, allocations: 8.031 kB / 1.583 GB, free: 10.07 MB / 1.279 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004388/0.8611, allocations: 0.6426 MB / 1.583 GB, free: 9.422 MB / 1.279 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004112/0.8652, allocations: 1.371 MB / 1.585 GB, free: 8.008 MB / 1.279 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001188/0.8653, allocations: 94.27 kB / 1.585 GB, free: 7.914 MB / 1.279 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002939/0.8656, allocations: 127.9 kB / 1.585 GB, free: 7.789 MB / 1.279 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003293/0.8689, allocations: 1.624 MB / 1.587 GB, free: 6.047 MB / 1.279 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.474e-05/0.869, allocations: 0 / 1.587 GB, free: 6.047 MB / 1.279 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001379/0.8691, allocations: 55.92 kB / 1.587 GB, free: 5.992 MB / 1.279 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.868e-05/0.8692, allocations: 42.22 kB / 1.587 GB, free: 5.949 MB / 1.279 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002776/0.8719, allocations: 1.22 MB / 1.588 GB, free: 4.715 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.009295/0.8812, allocations: 4.178 MB / 1.592 GB, free: 448 kB / 1.279 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002087/0.8833, allocations: 0.8589 MB / 1.593 GB, free: 15.56 MB / 1.295 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001111/0.8844, allocations: 0.5269 MB / 1.593 GB, free: 15.03 MB / 1.295 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005707/0.885, allocations: 88.5 kB / 1.593 GB, free: 14.94 MB / 1.295 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001405/0.8864, allocations: 0.7163 MB / 1.594 GB, free: 14.16 MB / 1.295 GB Notification: Performance of pre-optimization done (n=85): time 4.419e-06/0.8864, allocations: 0 / 1.594 GB, free: 14.16 MB / 1.295 GB Notification: Performance of matching and sorting (n=92): time 0.009286/0.8957, allocations: 3.381 MB / 1.597 GB, free: 10.72 MB / 1.295 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.833e-05/0.8958, allocations: 86.11 kB / 1.598 GB, free: 10.62 MB / 1.295 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001906/0.8977, allocations: 1.187 MB / 1.599 GB, free: 9.422 MB / 1.295 GB Notification: Performance of collectPreVariables (initialization): time 0.0001217/0.8978, allocations: 49.69 kB / 1.599 GB, free: 9.367 MB / 1.295 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007819/0.8986, allocations: 0.7409 MB / 1.599 GB, free: 8.621 MB / 1.295 GB Notification: Performance of collectInitialBindings (initialization): time 0.000357/0.8989, allocations: 337.1 kB / 1.6 GB, free: 8.289 MB / 1.295 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003482/0.8993, allocations: 186.6 kB / 1.6 GB, free: 8.102 MB / 1.295 GB Notification: Performance of setup shared object (initialization): time 0.0001884/0.8995, allocations: 349.9 kB / 1.6 GB, free: 7.754 MB / 1.295 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001046/0.9005, allocations: 486.3 kB / 1.601 GB, free: 7.27 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001429/0.902, allocations: 0.9104 MB / 1.602 GB, free: 6.227 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.01451/0.9165, allocations: 3.258 MB / 1.605 GB, free: 2.887 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.9165, allocations: 0 / 1.605 GB, free: 2.887 MB / 1.295 GB Notification: Performance of matching and sorting (n=126) (initialization): time 0.003792/0.9203, allocations: 1.541 MB / 1.606 GB, free: 1.316 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 7.149e-05/0.9203, allocations: 37.69 kB / 1.606 GB, free: 1.273 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.573e-05/0.9204, allocations: 4 kB / 1.606 GB, free: 1.27 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008589/0.9212, allocations: 226.8 kB / 1.607 GB, free: 1.039 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000989/0.9222, allocations: 191.8 kB / 1.607 GB, free: 0.8516 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.029/1.951, allocations: 4.322 MB / 1.611 GB, free: 278.6 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001758/1.953, allocations: 69.42 kB / 1.611 GB, free: 278.6 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001615/1.953, allocations: 43.06 kB / 1.611 GB, free: 278.6 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: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001946/1.955, allocations: 0.7933 MB / 1.612 GB, free: 278.5 MB / 1.295 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001377/1.957, allocations: 0.9089 MB / 1.613 GB, free: 277.9 MB / 1.295 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.01444/1.971, allocations: 3.214 MB / 1.616 GB, free: 277 MB / 1.295 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.447e-06/1.971, allocations: 5.281 kB / 1.616 GB, free: 277 MB / 1.295 GB Notification: Performance of matching and sorting (n=126) (initialization_lambda0): time 0.003682/1.975, allocations: 1.514 MB / 1.617 GB, free: 276.5 MB / 1.295 GB Notification: Performance of prepare postOptimizeDAE: time 4.425e-05/1.975, allocations: 43.31 kB / 1.617 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/1.975, allocations: 3.625 kB / 1.617 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005362/1.975, allocations: 195.6 kB / 1.618 GB, free: 276.4 MB / 1.295 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009801/1.976, allocations: 200.2 kB / 1.618 GB, free: 276.3 MB / 1.295 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004941/1.981, allocations: 5.313 MB / 1.623 GB, free: 271.8 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001554/1.983, allocations: 72.86 kB / 1.623 GB, free: 271.7 MB / 1.295 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001083/1.983, allocations: 39.02 kB / 1.623 GB, free: 271.7 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: $DER.heaDyn.vol.dynBal.medium.p = 0.0. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 9 (TSet.nextEventScaled,TSet.nextEvent,$PRE.TSet.nextEvent,TSet.last,TSet.b,TSet.a,$whenCondition1,con2.I.trigger_internal,con1.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (105): * Single equations (assignments): 99 * Array equations: 2 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 3 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 3 systems {(1,8), (1,2), (1,4)} Notification: Performance of prepare postOptimizeDAE: time 0.0004078/1.983, allocations: 278.6 kB / 1.623 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000273/1.984, allocations: 166 kB / 1.624 GB, free: 271.5 MB / 1.295 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003311/1.987, allocations: 1.304 MB / 1.625 GB, free: 270.9 MB / 1.295 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002786/1.99, allocations: 1.182 MB / 1.626 GB, free: 270.4 MB / 1.295 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.801e-06/1.99, allocations: 4.297 kB / 1.626 GB, free: 270.4 MB / 1.295 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009205/1.991, allocations: 246.4 kB / 1.626 GB, free: 270.3 MB / 1.295 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002041/1.991, allocations: 24.08 kB / 1.626 GB, free: 270.3 MB / 1.295 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001004/1.992, allocations: 59.88 kB / 1.626 GB, free: 270.3 MB / 1.295 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001618/1.992, allocations: 54.64 kB / 1.626 GB, free: 270.3 MB / 1.295 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003803/1.996, allocations: 1.39 MB / 1.628 GB, free: 269.7 MB / 1.295 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003772/2, allocations: 2.028 MB / 1.63 GB, free: 268.8 MB / 1.295 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001015/2.001, allocations: 0.4999 MB / 1.63 GB, free: 268.6 MB / 1.295 GB Notification: Performance of sorting global known variables: time 0.001366/2.002, allocations: 0.7943 MB / 1.631 GB, free: 268.2 MB / 1.295 GB Notification: Performance of Backend: time 4.1e-07/2.002, allocations: 0 / 1.631 GB, free: 268.2 MB / 1.295 GB Notification: Performance of simCode: created initialization part: time 0.006779/2.009, allocations: 2.719 MB / 1.634 GB, free: 266.9 MB / 1.295 GB Notification: Performance of SimCode: time 0.006931/2.016, allocations: 3.753 MB / 1.637 GB, free: 264.9 MB / 1.295 GB Notification: Performance of Templates: time 0.06418/2.08, allocations: 43.39 MB / 1.68 GB, free: 231.8 MB / 1.295 GB " [Timeout remaining time 298] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Validation_HeaterCooler_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Validation.HeaterCooler_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: 13.078131832000508]