Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") translateModel(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001785/0.001785, allocations: 109.7 kB / 16.42 MB, free: 6.473 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001947/0.001947, allocations: 190.7 kB / 17.35 MB, free: 5.711 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.397/1.397, allocations: 222.9 MB / 241 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.429/2.429, allocations: 437 MB / 0.7112 GB, free: 4.355 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001427/0.001427, allocations: 59.91 kB / 1.019 GB, free: 9.367 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7314/0.7328, allocations: 151.6 MB / 1.167 GB, free: 3.805 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.05411/0.787, allocations: 48.21 MB / 1.214 GB, free: 3.422 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.01759/0.8046, allocations: 11.89 MB / 1.226 GB, free: 7.496 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002214/0.8069, allocations: 59.62 kB / 1.226 GB, free: 7.438 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.002248/0.8091, allocations: 0.7411 MB / 1.227 GB, free: 6.691 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.006305/0.8155, allocations: 2.136 MB / 1.229 GB, free: 4.551 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005438/0.821, allocations: 2.065 MB / 1.231 GB, free: 2.504 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.005026/0.826, allocations: 3.559 MB / 1.234 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002093/0.8281, allocations: 1.235 MB / 1.236 GB, free: 13.67 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003678/0.8318, allocations: 1.586 MB / 1.237 GB, free: 12.08 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001769/0.8336, allocations: 1.023 MB / 1.238 GB, free: 11.05 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 0.0004359/0.834, allocations: 136 kB / 1.238 GB, free: 10.92 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004546/0.8386, allocations: 2.333 MB / 1.241 GB, free: 8.586 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0008024/0.8394, allocations: 358.6 kB / 1.241 GB, free: 8.234 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.001951/0.8414, allocations: 0.8278 MB / 1.242 GB, free: 7.402 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.005974/0.8474, allocations: 2.92 MB / 1.245 GB, free: 4.477 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.8474, allocations: 4 kB / 1.245 GB, free: 4.473 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.473e-06/0.8474, allocations: 3.938 kB / 1.245 GB, free: 4.469 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 2.078e-05/0.8474, allocations: 0 / 1.245 GB, free: 4.469 MB / 0.9669 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.004114/0.8515, allocations: 2.198 MB / 1.247 GB, free: 2.207 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.259e-05/0.8516, allocations: 12.86 kB / 1.247 GB, free: 2.195 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001794/0.8534, allocations: 395.1 kB / 1.247 GB, free: 1.809 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002921/0.8563, allocations: 1.444 MB / 1.248 GB, free: 320 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.713e-05/0.8564, allocations: 78 kB / 1.249 GB, free: 244 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001582/0.8566, allocations: 100 kB / 1.249 GB, free: 144 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002247/0.8589, allocations: 1.081 MB / 1.25 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.081e-05/0.8589, allocations: 0 / 1.25 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.013e-05/0.859, allocations: 36 kB / 1.25 GB, free: 14.98 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.193e-05/0.859, allocations: 37.94 kB / 1.25 GB, free: 14.95 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002591/0.8616, allocations: 1.011 MB / 1.251 GB, free: 13.94 MB / 0.9825 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.007109/0.8688, allocations: 4.708 MB / 1.255 GB, free: 8.961 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0021/0.8709, allocations: 0.7791 MB / 1.256 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001047/0.8719, allocations: 443.7 kB / 1.257 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001287/0.8732, allocations: 1.053 MB / 1.258 GB, free: 6.465 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001284/0.8745, allocations: 0.5119 MB / 1.258 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=72): time 3.216e-06/0.8745, allocations: 0 / 1.258 GB, free: 5.941 MB / 0.9825 GB Notification: Performance of matching and sorting (n=72): time 0.00374/0.8783, allocations: 1.301 MB / 1.259 GB, free: 4.633 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.8783, allocations: 64.06 kB / 1.259 GB, free: 4.559 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001744/0.8801, allocations: 1.195 MB / 1.261 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0001199/0.8802, allocations: 45.7 kB / 1.261 GB, free: 3.301 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005297/0.8808, allocations: 0.5999 MB / 1.261 GB, free: 2.695 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002585/0.881, allocations: 257.8 kB / 1.261 GB, free: 2.441 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000375/0.8814, allocations: 226.5 kB / 1.262 GB, free: 2.215 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001345/0.8815, allocations: 341.9 kB / 1.262 GB, free: 1.875 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001177/0.8827, allocations: 424.5 kB / 1.262 GB, free: 1.457 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001376/0.8841, allocations: 0.6357 MB / 1.263 GB, free: 0.75 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002382/0.8865, allocations: 0.9804 MB / 1.264 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.671e-06/0.8865, allocations: 4 kB / 1.264 GB, free: 15.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003203/0.8897, allocations: 1.256 MB / 1.265 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.944e-05/0.8898, allocations: 33.7 kB / 1.265 GB, free: 14.39 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.32e-05/0.8898, allocations: 7.938 kB / 1.265 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.8898, allocations: 8 kB / 1.265 GB, free: 14.38 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001552/0.8914, allocations: 291.6 kB / 1.266 GB, free: 14.09 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007658/0.8922, allocations: 1.199 MB / 1.267 GB, free: 12.84 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001379/0.8936, allocations: 163.2 kB / 1.267 GB, free: 12.68 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001289/0.8937, allocations: 51.97 kB / 1.267 GB, free: 12.63 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001545/0.8953, allocations: 0.6268 MB / 1.268 GB, free: 12 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001356/0.8966, allocations: 0.6251 MB / 1.268 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.00233/0.899, allocations: 0.9647 MB / 1.269 GB, free: 10.28 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 7.424e-06/0.899, allocations: 7.922 kB / 1.269 GB, free: 10.27 MB / 0.9981 GB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.00316/0.9022, allocations: 1.248 MB / 1.27 GB, free: 9.004 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 3.186e-05/0.9022, allocations: 33.7 kB / 1.27 GB, free: 8.965 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.117e-06/0.9022, allocations: 4 kB / 1.27 GB, free: 8.961 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.9022, allocations: 8 kB / 1.27 GB, free: 8.953 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001177/0.9034, allocations: 267.8 kB / 1.271 GB, free: 8.691 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.764e-05/0.9034, allocations: 11.94 kB / 1.271 GB, free: 8.68 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001347/0.9048, allocations: 143.5 kB / 1.271 GB, free: 8.539 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001233/0.9049, allocations: 51.97 kB / 1.271 GB, free: 8.488 MB / 0.9981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 (hex.flowRegime_nominal,hex.flowRegime,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 (117): * Single equations (assignments): 114 * 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.0003271/0.9053, allocations: 232 kB / 1.271 GB, free: 8.254 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/0.9057, allocations: 155 kB / 1.271 GB, free: 8.102 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003259/0.9089, allocations: 1.254 MB / 1.272 GB, free: 6.855 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.534e-05/0.909, allocations: 3.984 kB / 1.272 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.909, allocations: 0 / 1.272 GB, free: 6.852 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000647/0.9096, allocations: 351.7 kB / 1.273 GB, free: 6.488 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002354/0.9099, allocations: 20 kB / 1.273 GB, free: 6.469 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001096/0.911, allocations: 100.5 kB / 1.273 GB, free: 6.371 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001478/0.9111, allocations: 60.91 kB / 1.273 GB, free: 6.312 MB / 0.9981 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003464/0.9146, allocations: 1.21 MB / 1.274 GB, free: 5.094 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004147/0.9188, allocations: 1.839 MB / 1.276 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001172/0.9199, allocations: 0.4919 MB / 1.276 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.001374/0.9213, allocations: 0.8011 MB / 1.277 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of Backend: time 3.51e-07/0.9213, allocations: 0 / 1.277 GB, free: 1.949 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.006392/0.9277, allocations: 2.046 MB / 1.279 GB, free: 15.89 MB / 1.014 GB Notification: Performance of SimCode: time 0.005429/0.9332, allocations: 2.995 MB / 1.282 GB, free: 12.85 MB / 1.014 GB Notification: Performance of Templates: time 0.06006/0.9933, allocations: 35.65 MB / 1.317 GB, free: 9.492 MB / 1.045 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches