Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.001795/0.001795, 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.001955/0.001955, 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.775/1.775, 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.675/3.675, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|P.u_s|P.u_m|hex.sta_a1.T|hex.sta_b1.T|hex.sta_a2.T|hex.sta_b2.T|hex.Q1_flow|hex.Q2_flow|hex.m1_flow|hex.m2_flow",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") [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.002197/0.002197, allocations: 70.23 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6183/0.6205, allocations: 176.1 MB / 1.327 GB, free: 0.9961 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.06523/0.6857, allocations: 44.59 MB / 1.371 GB, free: 4.25 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.02459/0.7103, allocations: 11.02 MB / 1.381 GB, free: 9.207 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004/0.7143, allocations: 87.19 kB / 1.381 GB, free: 9.121 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.003034/0.7174, allocations: 0.7138 MB / 1.382 GB, free: 8.402 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.009433/0.7268, allocations: 2.134 MB / 1.384 GB, free: 6.258 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.007535/0.7343, allocations: 2.105 MB / 1.386 GB, free: 4.172 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.007933/0.7423, allocations: 3.527 MB / 1.39 GB, free: 0.625 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002805/0.7451, allocations: 1.01 MB / 1.391 GB, free: 15.58 MB / 1.092 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006112/0.7512, allocations: 1.729 MB / 1.392 GB, free: 13.86 MB / 1.092 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00243/0.7536, allocations: 1.034 MB / 1.393 GB, free: 12.82 MB / 1.092 GB Notification: Performance of NFPackage.collectConstants: time 0.000296/0.7539, allocations: 132 kB / 1.394 GB, free: 12.69 MB / 1.092 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005789/0.7597, allocations: 2.134 MB / 1.396 GB, free: 10.55 MB / 1.092 GB Notification: Performance of NFScalarize.scalarize: time 0.0005045/0.7602, allocations: 354.4 kB / 1.396 GB, free: 10.2 MB / 1.092 GB Notification: Performance of NFVerifyModel.verify: time 0.001192/0.7614, allocations: 0.653 MB / 1.397 GB, free: 9.547 MB / 1.092 GB Notification: Performance of NFConvertDAE.convert: time 0.00684/0.7682, allocations: 2.881 MB / 1.399 GB, free: 6.656 MB / 1.092 GB Notification: Performance of FrontEnd - DAE generated: time 7.985e-06/0.7682, allocations: 0 / 1.399 GB, free: 6.656 MB / 1.092 GB Notification: Performance of FrontEnd: time 3.657e-06/0.7682, allocations: 0 / 1.399 GB, free: 6.656 MB / 1.092 GB Notification: Performance of Transformations before backend: time 2.56e-05/0.7683, allocations: 4 kB / 1.399 GB, free: 6.652 MB / 1.092 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.005463/0.7737, allocations: 2.103 MB / 1.402 GB, free: 4.504 MB / 1.092 GB Notification: Performance of prepare preOptimizeDAE: time 9.346e-05/0.7738, allocations: 12.03 kB / 1.402 GB, free: 4.492 MB / 1.092 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001972/0.7758, allocations: 391.1 kB / 1.402 GB, free: 4.109 MB / 1.092 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003542/0.7793, allocations: 1.348 MB / 1.403 GB, free: 2.715 MB / 1.092 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.7794, allocations: 78 kB / 1.403 GB, free: 2.641 MB / 1.092 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001949/0.7796, allocations: 103.9 kB / 1.403 GB, free: 2.539 MB / 1.092 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002631/0.7823, allocations: 1.173 MB / 1.405 GB, free: 1.305 MB / 1.092 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.596e-05/0.7823, allocations: 0 / 1.405 GB, free: 1.305 MB / 1.092 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001023/0.7824, allocations: 40 kB / 1.405 GB, free: 1.266 MB / 1.092 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.029e-05/0.7824, allocations: 23.94 kB / 1.405 GB, free: 1.242 MB / 1.092 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002617/0.785, allocations: 0.9875 MB / 1.406 GB, free: 260 kB / 1.092 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.007966/0.793, allocations: 3.395 MB / 1.409 GB, free: 12.79 MB / 1.107 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002169/0.7952, allocations: 0.7204 MB / 1.41 GB, free: 12.06 MB / 1.107 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001086/0.7963, allocations: 414.6 kB / 1.41 GB, free: 11.66 MB / 1.107 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008888/0.7972, allocations: 156.5 kB / 1.41 GB, free: 11.5 MB / 1.107 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001452/0.7986, allocations: 0.5832 MB / 1.411 GB, free: 10.89 MB / 1.107 GB Notification: Performance of pre-optimization done (n=70): time 3.616e-06/0.7986, allocations: 4 kB / 1.411 GB, free: 10.88 MB / 1.107 GB Notification: Performance of matching and sorting (n=70): time 0.003873/0.8025, allocations: 1.293 MB / 1.412 GB, free: 9.586 MB / 1.107 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.866e-05/0.8026, allocations: 64.59 kB / 1.412 GB, free: 9.512 MB / 1.107 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001715/0.8043, allocations: 1.066 MB / 1.413 GB, free: 8.438 MB / 1.107 GB Notification: Performance of collectPreVariables (initialization): time 0.0001372/0.8044, allocations: 49.64 kB / 1.413 GB, free: 8.383 MB / 1.107 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006826/0.8051, allocations: 0.5952 MB / 1.414 GB, free: 7.781 MB / 1.107 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002945/0.8054, allocations: 257.8 kB / 1.414 GB, free: 7.527 MB / 1.107 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004267/0.8058, allocations: 222.4 kB / 1.414 GB, free: 7.305 MB / 1.107 GB Notification: Performance of setup shared object (initialization): time 0.0002626/0.8061, allocations: 338 kB / 1.414 GB, free: 6.969 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001212/0.8073, allocations: 458.2 kB / 1.415 GB, free: 6.512 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001795/0.8091, allocations: 1.06 MB / 1.416 GB, free: 5.273 MB / 1.107 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00244/0.8115, allocations: 0.9686 MB / 1.417 GB, free: 4.242 MB / 1.107 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.8115, allocations: 0 / 1.417 GB, free: 4.242 MB / 1.107 GB Notification: Performance of matching and sorting (n=114) (initialization): time 0.003439/0.815, allocations: 1.254 MB / 1.418 GB, free: 2.969 MB / 1.107 GB Notification: Performance of prepare postOptimizeDAE: time 6.003e-05/0.815, allocations: 33.92 kB / 1.418 GB, free: 2.93 MB / 1.107 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.621e-05/0.815, allocations: 8 kB / 1.418 GB, free: 2.922 MB / 1.107 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.649e-05/0.8151, allocations: 11.98 kB / 1.418 GB, free: 2.91 MB / 1.107 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00157/0.8167, allocations: 291.5 kB / 1.418 GB, free: 2.625 MB / 1.107 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001031/0.8177, allocations: 1.191 MB / 1.42 GB, free: 1.387 MB / 1.107 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001418/0.8191, allocations: 147.6 kB / 1.42 GB, free: 1.242 MB / 1.107 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001784/0.8193, allocations: 51.91 kB / 1.42 GB, free: 1.191 MB / 1.107 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001719/0.821, allocations: 0.6519 MB / 1.42 GB, free: 0.5273 MB / 1.107 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001816/0.8228, allocations: 1.052 MB / 1.421 GB, free: 15.3 MB / 1.123 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.002389/0.8252, allocations: 0.9568 MB / 1.422 GB, free: 14.28 MB / 1.123 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 3.797e-06/0.8252, allocations: 0 / 1.422 GB, free: 14.28 MB / 1.123 GB Notification: Performance of matching and sorting (n=114) (initialization_lambda0): time 0.003308/0.8285, allocations: 1.246 MB / 1.424 GB, free: 13.01 MB / 1.123 GB Notification: Performance of prepare postOptimizeDAE: time 5.172e-05/0.8286, allocations: 33.7 kB / 1.424 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.837e-06/0.8286, allocations: 4 kB / 1.424 GB, free: 12.97 MB / 1.123 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.8286, allocations: 8 kB / 1.424 GB, free: 12.96 MB / 1.123 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.8298, allocations: 259.8 kB / 1.424 GB, free: 12.71 MB / 1.123 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.651e-05/0.8298, allocations: 8 kB / 1.424 GB, free: 12.7 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001377/0.8312, allocations: 147.4 kB / 1.424 GB, free: 12.55 MB / 1.123 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001082/0.8313, allocations: 47.97 kB / 1.424 GB, free: 12.51 MB / 1.123 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 7 (hex.flowRegime_nominal,TSet.count,$PRE.TSet.count,TSet.T_start,$PRE.TSet.T_start,$whenCondition1,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (113): * Single equations (assignments): 110 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0004726/0.8317, allocations: 244 kB / 1.424 GB, free: 12.26 MB / 1.123 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003342/0.8321, allocations: 135.1 kB / 1.424 GB, free: 12.13 MB / 1.123 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003433/0.8355, allocations: 1.249 MB / 1.426 GB, free: 10.89 MB / 1.123 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.645e-05/0.8355, allocations: 7.922 kB / 1.426 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.8355, allocations: 0 / 1.426 GB, free: 10.88 MB / 1.123 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007352/0.8363, allocations: 255.3 kB / 1.426 GB, free: 10.63 MB / 1.123 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001677/0.8364, allocations: 23.92 kB / 1.426 GB, free: 10.61 MB / 1.123 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001001/0.8374, allocations: 104.4 kB / 1.426 GB, free: 10.5 MB / 1.123 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001597/0.8376, allocations: 60.88 kB / 1.426 GB, free: 10.45 MB / 1.123 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003586/0.8412, allocations: 1.221 MB / 1.427 GB, free: 9.211 MB / 1.123 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004303/0.8455, allocations: 1.822 MB / 1.429 GB, free: 7.375 MB / 1.123 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001238/0.8467, allocations: 471.7 kB / 1.43 GB, free: 6.914 MB / 1.123 GB Notification: Performance of sorting global known variables: time 0.001438/0.8482, allocations: 0.7035 MB / 1.43 GB, free: 6.207 MB / 1.123 GB Notification: Performance of Backend: time 3.91e-07/0.8482, allocations: 0 / 1.43 GB, free: 6.207 MB / 1.123 GB Notification: Performance of simCode: created initialization part: time 0.007114/0.8553, allocations: 1.993 MB / 1.432 GB, free: 4.184 MB / 1.123 GB Notification: Performance of SimCode: time 0.005748/0.861, allocations: 2.792 MB / 1.435 GB, free: 1.336 MB / 1.123 GB Notification: Performance of Templates: time 0.07188/0.9329, allocations: 37.09 MB / 1.471 GB, free: 12.73 MB / 1.17 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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: 12.969191553995188]