Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.001465/0.001465, allocations: 97.11 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.00206/0.00206, allocations: 209.8 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.846/1.846, allocations: 230.6 MB / 256.8 MB, free: 7.789 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.817/3.817, allocations: 0.49 GB / 0.7959 GB, free: 35.64 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.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T,tolerance=1e-08,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TSet.y|TOut.y|TVol.T|THeaOut.T|coo.TSet|coo.Q_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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.002217/0.002217, allocations: 70.33 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6031/0.6053, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T): time 0.07021/0.6755, allocations: 49.66 MB / 1.376 GB, free: 15.15 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03808/0.7136, allocations: 15.92 MB / 1.391 GB, free: 15.2 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.005923/0.7195, allocations: 123 kB / 1.391 GB, free: 15.08 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.007951/0.7275, allocations: 1.948 MB / 1.393 GB, free: 13.12 MB / 1.092 GB Notification: Performance of NFTyping.typeBindings: time 0.0114/0.7389, allocations: 2.685 MB / 1.396 GB, free: 10.43 MB / 1.092 GB Notification: Performance of NFTyping.typeClassSections: time 0.008547/0.7474, allocations: 2.447 MB / 1.398 GB, free: 7.996 MB / 1.092 GB Notification: Performance of NFFlatten.flatten: time 0.01568/0.7631, allocations: 7.484 MB / 1.405 GB, free: 0.4961 MB / 1.092 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003947/0.7671, allocations: 1.378 MB / 1.407 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008134/0.7752, allocations: 2.486 MB / 1.409 GB, free: 12.59 MB / 1.107 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00393/0.7791, allocations: 1.474 MB / 1.411 GB, free: 11.11 MB / 1.107 GB Notification: Performance of NFPackage.collectConstants: time 0.0006239/0.7798, allocations: 168 kB / 1.411 GB, free: 10.94 MB / 1.107 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006391/0.7861, allocations: 1.786 MB / 1.413 GB, free: 9.152 MB / 1.107 GB Notification: Performance of NFScalarize.scalarize: time 0.001071/0.7872, allocations: 0.6654 MB / 1.413 GB, free: 8.484 MB / 1.107 GB Notification: Performance of NFVerifyModel.verify: time 0.001855/0.7891, allocations: 0.9444 MB / 1.414 GB, free: 7.535 MB / 1.107 GB Notification: Performance of NFConvertDAE.convert: time 0.008819/0.7979, allocations: 3.872 MB / 1.418 GB, free: 3.648 MB / 1.107 GB Notification: Performance of FrontEnd - DAE generated: time 9.107e-06/0.7979, allocations: 4 kB / 1.418 GB, free: 3.645 MB / 1.107 GB Notification: Performance of FrontEnd: time 3.417e-06/0.7979, allocations: 0 / 1.418 GB, free: 3.645 MB / 1.107 GB Notification: Performance of Transformations before backend: time 4.343e-05/0.7979, allocations: 0 / 1.418 GB, free: 3.645 MB / 1.107 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 282 * Number of variables: 282 Notification: Performance of Generate backend data structure: time 0.007081/0.805, allocations: 2.924 MB / 1.421 GB, free: 0.6562 MB / 1.107 GB Notification: Performance of prepare preOptimizeDAE: time 7.746e-05/0.8051, allocations: 8.031 kB / 1.421 GB, free: 0.6484 MB / 1.107 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002788/0.8079, allocations: 0.5721 MB / 1.421 GB, free: 76 kB / 1.107 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005657/0.8136, allocations: 2.591 MB / 1.424 GB, free: 13.4 MB / 1.123 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000106/0.8137, allocations: 94.16 kB / 1.424 GB, free: 13.31 MB / 1.123 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001956/0.8139, allocations: 116 kB / 1.424 GB, free: 13.2 MB / 1.123 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003104/0.817, allocations: 1.51 MB / 1.426 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.013e-05/0.817, allocations: 3.938 kB / 1.426 GB, free: 11.55 MB / 1.123 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001197/0.8171, allocations: 55.94 kB / 1.426 GB, free: 11.49 MB / 1.123 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.537e-05/0.8172, allocations: 31.98 kB / 1.426 GB, free: 11.46 MB / 1.123 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00288/0.82, allocations: 1.089 MB / 1.427 GB, free: 10.36 MB / 1.123 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.009847/0.8299, allocations: 5.249 MB / 1.432 GB, free: 4.941 MB / 1.123 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002508/0.8324, allocations: 0.8739 MB / 1.433 GB, free: 4.062 MB / 1.123 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001132/0.8335, allocations: 398.7 kB / 1.433 GB, free: 3.672 MB / 1.123 GB Notification: Performance of preOpt evalFunc (simulation): time 0.004362/0.8379, allocations: 1.566 MB / 1.435 GB, free: 2.082 MB / 1.123 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001246/0.8391, allocations: 0.5493 MB / 1.435 GB, free: 1.492 MB / 1.123 GB Notification: Performance of pre-optimization done (n=57): time 2.805e-06/0.8391, allocations: 0 / 1.435 GB, free: 1.492 MB / 1.123 GB Notification: Performance of matching and sorting (n=57): time 0.003519/0.8427, allocations: 1.199 MB / 1.436 GB, free: 288 kB / 1.123 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.882e-05/0.8427, allocations: 59.91 kB / 1.436 GB, free: 216 kB / 1.123 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003344/0.8461, allocations: 2.125 MB / 1.438 GB, free: 14.06 MB / 1.139 GB Notification: Performance of collectPreVariables (initialization): time 7.53e-05/0.8461, allocations: 37.7 kB / 1.439 GB, free: 14.02 MB / 1.139 GB Notification: Performance of collectInitialEqns (initialization): time 0.001217/0.8474, allocations: 1.035 MB / 1.44 GB, free: 12.97 MB / 1.139 GB Notification: Performance of collectInitialBindings (initialization): time 0.000289/0.8476, allocations: 218.2 kB / 1.44 GB, free: 12.76 MB / 1.139 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005186/0.8482, allocations: 314.7 kB / 1.44 GB, free: 12.45 MB / 1.139 GB Notification: Performance of setup shared object (initialization): time 0.0001935/0.8484, allocations: 301.1 kB / 1.44 GB, free: 12.15 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/0.8496, allocations: 0.5744 MB / 1.441 GB, free: 11.56 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001917/0.8515, allocations: 1.235 MB / 1.442 GB, free: 10.08 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002755/0.8543, allocations: 1.442 MB / 1.443 GB, free: 8.469 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.195e-05/0.8543, allocations: 4 kB / 1.443 GB, free: 8.465 MB / 1.139 GB Notification: Performance of matching and sorting (n=185) (initialization): time 0.003903/0.8582, allocations: 1.797 MB / 1.445 GB, free: 6.648 MB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 8.129e-05/0.8583, allocations: 50.56 kB / 1.445 GB, free: 6.594 MB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.555e-05/0.8583, allocations: 12 kB / 1.445 GB, free: 6.582 MB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.693e-05/0.8584, allocations: 16 kB / 1.445 GB, free: 6.566 MB / 1.139 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001217/0.8596, allocations: 304 kB / 1.446 GB, free: 6.27 MB / 1.139 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.115e-05/0.8596, allocations: 27.91 kB / 1.446 GB, free: 6.242 MB / 1.139 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001528/0.8611, allocations: 190.9 kB / 1.446 GB, free: 6.055 MB / 1.139 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001341/0.8613, allocations: 59.98 kB / 1.446 GB, free: 5.996 MB / 1.139 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002328/0.8636, allocations: 0.9929 MB / 1.447 GB, free: 4.996 MB / 1.139 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001912/0.8655, allocations: 1.231 MB / 1.448 GB, free: 3.52 MB / 1.139 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002799/0.8683, allocations: 1.45 MB / 1.449 GB, free: 1.898 MB / 1.139 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.846e-06/0.8683, allocations: 7.938 kB / 1.449 GB, free: 1.891 MB / 1.139 GB Notification: Performance of matching and sorting (n=185) (initialization_lambda0): time 0.00391/0.8722, allocations: 1.8 MB / 1.451 GB, free: 72 kB / 1.139 GB Notification: Performance of prepare postOptimizeDAE: time 6.532e-05/0.8723, allocations: 37.7 kB / 1.451 GB, free: 28 kB / 1.139 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.8723, allocations: 11.94 kB / 1.451 GB, free: 16 kB / 1.139 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.906e-05/0.8724, allocations: 20.05 kB / 1.451 GB, free: 15.99 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001127/0.8735, allocations: 303.8 kB / 1.452 GB, free: 15.7 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.196e-05/0.8735, allocations: 31.86 kB / 1.452 GB, free: 15.67 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/0.875, allocations: 155.6 kB / 1.452 GB, free: 15.52 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001186/0.8751, allocations: 59.98 kB / 1.452 GB, free: 15.46 MB / 1.154 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 53 * 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 (151): * Single equations (assignments): 148 * 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.0005165/0.8756, allocations: 255.8 kB / 1.452 GB, free: 15.2 MB / 1.154 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003743/0.876, allocations: 214.5 kB / 1.452 GB, free: 14.99 MB / 1.154 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003214/0.8792, allocations: 1.143 MB / 1.453 GB, free: 13.84 MB / 1.154 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002243/0.8815, allocations: 0.9743 MB / 1.454 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.238e-06/0.8815, allocations: 0 / 1.454 GB, free: 12.81 MB / 1.154 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009481/0.8824, allocations: 310.2 kB / 1.455 GB, free: 12.5 MB / 1.154 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/0.8827, allocations: 15.98 kB / 1.455 GB, free: 12.49 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008074/0.8835, allocations: 67.94 kB / 1.455 GB, free: 12.42 MB / 1.154 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001672/0.8836, allocations: 52.55 kB / 1.455 GB, free: 12.37 MB / 1.154 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002937/0.8866, allocations: 1.048 MB / 1.456 GB, free: 11.31 MB / 1.154 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.003514/0.8901, allocations: 1.602 MB / 1.457 GB, free: 9.691 MB / 1.154 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0011/0.8912, allocations: 397 kB / 1.458 GB, free: 9.305 MB / 1.154 GB Notification: Performance of sorting global known variables: time 0.002687/0.8939, allocations: 1.396 MB / 1.459 GB, free: 7.895 MB / 1.154 GB Notification: Performance of Backend: time 1.092e-06/0.8939, allocations: 0 / 1.459 GB, free: 7.895 MB / 1.154 GB Notification: Performance of simCode: created initialization part: time 0.00873/0.9026, allocations: 2.688 MB / 1.462 GB, free: 5.355 MB / 1.154 GB Notification: Performance of SimCode: time 0.009804/0.9124, allocations: 4.672 MB / 1.466 GB, free: 0.6445 MB / 1.154 GB Notification: Performance of Templates: time 0.09534/1.008, allocations: 49.12 MB / 1.514 GB, free: 276 kB / 1.201 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_T_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_WaterCooler_T.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterCooler_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: 13.419020236993674]