Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.002046/0.002046, allocations: 107.8 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.002901/0.002901, allocations: 218.9 kB / 23 MB, free: 4.965 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.785/1.785, allocations: 230.6 MB / 256.8 MB, free: 7.828 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.81/3.81, allocations: 0.49 GB / 0.7959 GB, free: 35.47 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.WaterHeater_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.WaterHeater_u") translateModel(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.WaterHeater_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.002163/0.002163, allocations: 69.23 kB / 1.155 GB, free: 25.22 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5476/0.5497, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u): time 0.08797/0.6377, allocations: 62.17 MB / 1.388 GB, free: 2.566 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.03715/0.6749, allocations: 17.32 MB / 1.405 GB, free: 1.211 MB / 1.092 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006194/0.6811, allocations: 130.9 kB / 1.405 GB, free: 1.082 MB / 1.092 GB Notification: Performance of NFTyping.typeComponents: time 0.00807/0.6891, allocations: 1.999 MB / 1.407 GB, free: 15.07 MB / 1.107 GB Notification: Performance of NFTyping.typeBindings: time 0.01223/0.7013, allocations: 3.024 MB / 1.41 GB, free: 12.04 MB / 1.107 GB Notification: Performance of NFTyping.typeClassSections: time 0.009047/0.7104, allocations: 2.542 MB / 1.412 GB, free: 9.512 MB / 1.107 GB Notification: Performance of NFFlatten.flatten: time 0.01938/0.7298, allocations: 8.229 MB / 1.42 GB, free: 1.262 MB / 1.107 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004455/0.7342, allocations: 1.541 MB / 1.422 GB, free: 15.66 MB / 1.123 GB Notification: Performance of NFEvalConstants.evaluate: time 0.009571/0.7438, allocations: 2.734 MB / 1.424 GB, free: 12.93 MB / 1.123 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00473/0.7485, allocations: 1.611 MB / 1.426 GB, free: 11.32 MB / 1.123 GB Notification: Performance of NFPackage.collectConstants: time 0.0007599/0.7493, allocations: 188 kB / 1.426 GB, free: 11.13 MB / 1.123 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006768/0.7561, allocations: 1.895 MB / 1.428 GB, free: 9.234 MB / 1.123 GB Notification: Performance of NFScalarize.scalarize: time 0.00124/0.7573, allocations: 0.6927 MB / 1.429 GB, free: 8.539 MB / 1.123 GB Notification: Performance of NFVerifyModel.verify: time 0.002341/0.7596, allocations: 1.034 MB / 1.43 GB, free: 7.5 MB / 1.123 GB Notification: Performance of NFConvertDAE.convert: time 0.0102/0.7698, allocations: 4.192 MB / 1.434 GB, free: 3.293 MB / 1.123 GB Notification: Performance of FrontEnd - DAE generated: time 1.027e-05/0.7698, allocations: 4 kB / 1.434 GB, free: 3.289 MB / 1.123 GB Notification: Performance of FrontEnd: time 4.027e-06/0.7699, allocations: 0 / 1.434 GB, free: 3.289 MB / 1.123 GB Notification: Performance of Transformations before backend: time 8.442e-05/0.7699, allocations: 3.938 kB / 1.434 GB, free: 3.285 MB / 1.123 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 311 * Number of variables: 311 Notification: Performance of Generate backend data structure: time 0.008109/0.778, allocations: 3.078 MB / 1.437 GB, free: 140 kB / 1.123 GB Notification: Performance of prepare preOptimizeDAE: time 6.817e-05/0.7781, allocations: 8.031 kB / 1.437 GB, free: 132 kB / 1.123 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00235/0.7805, allocations: 493.9 kB / 1.437 GB, free: 15.64 MB / 1.139 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.006069/0.7865, allocations: 2.731 MB / 1.44 GB, free: 12.83 MB / 1.139 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001061/0.7866, allocations: 94.45 kB / 1.44 GB, free: 12.74 MB / 1.139 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002489/0.7869, allocations: 135.9 kB / 1.44 GB, free: 12.61 MB / 1.139 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003407/0.7903, allocations: 1.67 MB / 1.442 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.185e-05/0.7903, allocations: 4 kB / 1.442 GB, free: 10.79 MB / 1.139 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001422/0.7905, allocations: 56 kB / 1.442 GB, free: 10.73 MB / 1.139 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.221e-05/0.7905, allocations: 32 kB / 1.442 GB, free: 10.7 MB / 1.139 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00282/0.7934, allocations: 1.11 MB / 1.443 GB, free: 9.582 MB / 1.139 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.01113/0.8045, allocations: 5.322 MB / 1.448 GB, free: 4.102 MB / 1.139 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0022/0.8067, allocations: 0.8166 MB / 1.449 GB, free: 3.281 MB / 1.139 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009989/0.8077, allocations: 402.6 kB / 1.449 GB, free: 2.883 MB / 1.139 GB Notification: Performance of preOpt evalFunc (simulation): time 0.003829/0.8115, allocations: 1.317 MB / 1.451 GB, free: 1.543 MB / 1.139 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00134/0.8128, allocations: 0.6463 MB / 1.451 GB, free: 0.8359 MB / 1.139 GB Notification: Performance of pre-optimization done (n=64): time 3.607e-06/0.8129, allocations: 4 kB / 1.451 GB, free: 0.832 MB / 1.139 GB Notification: Performance of matching and sorting (n=64): time 0.003832/0.8167, allocations: 1.247 MB / 1.453 GB, free: 15.57 MB / 1.154 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.135e-05/0.8168, allocations: 64 kB / 1.453 GB, free: 15.5 MB / 1.154 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003685/0.8204, allocations: 2.042 MB / 1.455 GB, free: 13.43 MB / 1.154 GB Notification: Performance of collectPreVariables (initialization): time 0.000126/0.8206, allocations: 45.7 kB / 1.455 GB, free: 13.38 MB / 1.154 GB Notification: Performance of collectInitialEqns (initialization): time 0.00126/0.8218, allocations: 1.043 MB / 1.456 GB, free: 12.33 MB / 1.154 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003165/0.8221, allocations: 238 kB / 1.456 GB, free: 12.09 MB / 1.154 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005426/0.8227, allocations: 306.8 kB / 1.456 GB, free: 11.79 MB / 1.154 GB Notification: Performance of setup shared object (initialization): time 0.000174/0.8229, allocations: 305.1 kB / 1.456 GB, free: 11.49 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001253/0.8241, allocations: 0.5861 MB / 1.457 GB, free: 10.89 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002004/0.8261, allocations: 1.2 MB / 1.458 GB, free: 9.469 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002885/0.829, allocations: 1.428 MB / 1.46 GB, free: 7.898 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-05/0.829, allocations: 4 kB / 1.46 GB, free: 7.895 MB / 1.154 GB Notification: Performance of matching and sorting (n=187) (initialization): time 0.004147/0.8332, allocations: 1.789 MB / 1.461 GB, free: 6.086 MB / 1.154 GB Notification: Performance of prepare postOptimizeDAE: time 6.66e-05/0.8332, allocations: 33.7 kB / 1.461 GB, free: 6.047 MB / 1.154 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.432e-05/0.8333, allocations: 12 kB / 1.461 GB, free: 6.035 MB / 1.154 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.511e-05/0.8333, allocations: 23.97 kB / 1.461 GB, free: 6.012 MB / 1.154 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001213/0.8345, allocations: 308.1 kB / 1.462 GB, free: 5.711 MB / 1.154 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.272e-05/0.8345, allocations: 27.86 kB / 1.462 GB, free: 5.684 MB / 1.154 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001666/0.8362, allocations: 179 kB / 1.462 GB, free: 5.508 MB / 1.154 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001308/0.8363, allocations: 59.92 kB / 1.462 GB, free: 5.449 MB / 1.154 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002305/0.8386, allocations: 1.02 MB / 1.463 GB, free: 4.418 MB / 1.154 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001886/0.8405, allocations: 1.196 MB / 1.464 GB, free: 3.004 MB / 1.154 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002646/0.8432, allocations: 1.42 MB / 1.466 GB, free: 1.441 MB / 1.154 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 8.255e-06/0.8432, allocations: 4 kB / 1.466 GB, free: 1.438 MB / 1.154 GB Notification: Performance of matching and sorting (n=187) (initialization_lambda0): time 0.003875/0.8471, allocations: 1.796 MB / 1.467 GB, free: 15.62 MB / 1.17 GB Notification: Performance of prepare postOptimizeDAE: time 4.959e-05/0.8471, allocations: 41.69 kB / 1.467 GB, free: 15.57 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/0.8471, allocations: 12 kB / 1.467 GB, free: 15.56 MB / 1.17 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.138e-05/0.8472, allocations: 16 kB / 1.467 GB, free: 15.55 MB / 1.17 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/0.8483, allocations: 299.7 kB / 1.468 GB, free: 15.25 MB / 1.17 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/0.8484, allocations: 23.88 kB / 1.468 GB, free: 15.23 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001663/0.85, allocations: 163.2 kB / 1.468 GB, free: 15.07 MB / 1.17 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001228/0.8501, allocations: 63.97 kB / 1.468 GB, free: 15.01 MB / 1.17 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (153): * Single equations (assignments): 150 * 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.0005/0.8506, allocations: 255.9 kB / 1.468 GB, free: 14.75 MB / 1.17 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000388/0.851, allocations: 206.6 kB / 1.468 GB, free: 14.55 MB / 1.17 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00308/0.8541, allocations: 1.143 MB / 1.469 GB, free: 13.39 MB / 1.17 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002006/0.8561, allocations: 0.8277 MB / 1.47 GB, free: 12.55 MB / 1.17 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.519e-06/0.8561, allocations: 4 kB / 1.47 GB, free: 12.54 MB / 1.17 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009653/0.8571, allocations: 326.2 kB / 1.471 GB, free: 12.22 MB / 1.17 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002394/0.8573, allocations: 12 kB / 1.471 GB, free: 12.21 MB / 1.17 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009408/0.8583, allocations: 75.86 kB / 1.471 GB, free: 12.14 MB / 1.17 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001636/0.8584, allocations: 52.55 kB / 1.471 GB, free: 12.09 MB / 1.17 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.00301/0.8614, allocations: 1.091 MB / 1.472 GB, free: 10.98 MB / 1.17 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.00355/0.865, allocations: 1.638 MB / 1.473 GB, free: 9.332 MB / 1.17 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0009642/0.8659, allocations: 401 kB / 1.474 GB, free: 8.938 MB / 1.17 GB Notification: Performance of sorting global known variables: time 0.002411/0.8684, allocations: 1.352 MB / 1.475 GB, free: 7.57 MB / 1.17 GB Notification: Performance of Backend: time 8.42e-07/0.8684, allocations: 0 / 1.475 GB, free: 7.57 MB / 1.17 GB Notification: Performance of simCode: created initialization part: time 0.006656/0.875, allocations: 2.414 MB / 1.477 GB, free: 5.121 MB / 1.17 GB Notification: Performance of SimCode: time 0.01008/0.8851, allocations: 4.845 MB / 1.482 GB, free: 248 kB / 1.17 GB Notification: Performance of Templates: time 0.1005/0.9856, allocations: 52.23 MB / 1.533 GB, free: 12.84 MB / 1.232 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_u_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_WaterHeater_u.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.WaterHeater_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.125681685000018]