Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001653/0.001653, allocations: 112.7 kB / 16.42 MB, free: 6.512 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.001788/0.001789, allocations: 190.7 kB / 17.35 MB, free: 5.738 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.395/1.395, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.579/2.579, allocations: 461.9 MB / 0.7355 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001375/0.001376, allocations: 63.89 kB / 1.055 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7734/0.7748, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl): time 0.04753/0.8224, allocations: 48.21 MB / 1.256 GB, free: 13.22 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.01702/0.8394, allocations: 11.88 MB / 1.267 GB, free: 1.309 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002273/0.8417, allocations: 55.62 kB / 1.267 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.00229/0.844, allocations: 0.745 MB / 1.268 GB, free: 0.5039 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.006314/0.8504, allocations: 2.126 MB / 1.27 GB, free: 14.37 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005787/0.8562, allocations: 2.079 MB / 1.272 GB, free: 12.31 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.004972/0.8612, allocations: 3.562 MB / 1.275 GB, free: 8.734 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00201/0.8632, allocations: 1.235 MB / 1.277 GB, free: 7.469 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003463/0.8667, allocations: 1.584 MB / 1.278 GB, free: 5.887 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001645/0.8684, allocations: 1.03 MB / 1.279 GB, free: 4.852 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.0003416/0.8687, allocations: 140 kB / 1.279 GB, free: 4.715 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004112/0.8728, allocations: 2.321 MB / 1.282 GB, free: 2.391 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.0004439/0.8733, allocations: 366.6 kB / 1.282 GB, free: 2.031 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.001108/0.8744, allocations: 0.816 MB / 1.283 GB, free: 1.211 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.004507/0.8789, allocations: 2.919 MB / 1.286 GB, free: 14.29 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.879, allocations: 0 / 1.286 GB, free: 14.29 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.473e-06/0.879, allocations: 0 / 1.286 GB, free: 14.29 MB / 1.014 GB Notification: Performance of Transformations before backend: time 4.755e-05/0.879, allocations: 0 / 1.286 GB, free: 14.29 MB / 1.014 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.003967/0.883, allocations: 2.135 MB / 1.288 GB, free: 12.09 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.764e-05/0.883, allocations: 8.031 kB / 1.288 GB, free: 12.08 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001714/0.8848, allocations: 390.2 kB / 1.288 GB, free: 11.7 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002725/0.8875, allocations: 1.421 MB / 1.289 GB, free: 10.22 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/0.8876, allocations: 74 kB / 1.29 GB, free: 10.15 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001661/0.8877, allocations: 107.9 kB / 1.29 GB, free: 10.04 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002225/0.89, allocations: 1.081 MB / 1.291 GB, free: 8.93 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.121e-05/0.89, allocations: 3.938 kB / 1.291 GB, free: 8.926 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.404e-05/0.8901, allocations: 43.98 kB / 1.291 GB, free: 8.883 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.8902, allocations: 41.91 kB / 1.291 GB, free: 8.84 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002524/0.8927, allocations: 0.9993 MB / 1.292 GB, free: 7.844 MB / 1.014 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.007095/0.8998, allocations: 4.688 MB / 1.296 GB, free: 2.875 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002078/0.9019, allocations: 0.7748 MB / 1.297 GB, free: 2.094 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001074/0.903, allocations: 437.6 kB / 1.298 GB, free: 1.668 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001146/0.9041, allocations: 1.06 MB / 1.299 GB, free: 396 kB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001282/0.9054, allocations: 0.5122 MB / 1.299 GB, free: 15.86 MB / 1.029 GB Notification: Performance of pre-optimization done (n=72): time 3.256e-06/0.9054, allocations: 0 / 1.299 GB, free: 15.86 MB / 1.029 GB Notification: Performance of matching and sorting (n=72): time 0.003683/0.9091, allocations: 1.3 MB / 1.3 GB, free: 14.55 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.544e-05/0.9092, allocations: 60.06 kB / 1.3 GB, free: 14.48 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001853/0.9111, allocations: 1.195 MB / 1.302 GB, free: 13.27 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 0.0001207/0.9112, allocations: 45.7 kB / 1.302 GB, free: 13.22 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005262/0.9117, allocations: 0.5914 MB / 1.302 GB, free: 12.62 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002239/0.912, allocations: 248.4 kB / 1.302 GB, free: 12.38 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000344/0.9123, allocations: 222.3 kB / 1.303 GB, free: 12.16 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001333/0.9125, allocations: 341.9 kB / 1.303 GB, free: 11.82 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001171/0.9136, allocations: 432.5 kB / 1.303 GB, free: 11.39 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001459/0.9151, allocations: 0.6305 MB / 1.304 GB, free: 10.69 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00238/0.9175, allocations: 0.9803 MB / 1.305 GB, free: 9.645 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.9175, allocations: 0 / 1.305 GB, free: 9.645 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization): time 0.003158/0.9207, allocations: 1.239 MB / 1.306 GB, free: 8.391 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 6.485e-05/0.9208, allocations: 41.69 kB / 1.306 GB, free: 8.344 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.355e-05/0.9208, allocations: 7.938 kB / 1.306 GB, free: 8.336 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.628e-05/0.9208, allocations: 8 kB / 1.306 GB, free: 8.328 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001546/0.9224, allocations: 299.7 kB / 1.306 GB, free: 8.035 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007282/0.9231, allocations: 1.199 MB / 1.308 GB, free: 6.789 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001336/0.9244, allocations: 155.1 kB / 1.308 GB, free: 6.637 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001149/0.9246, allocations: 47.97 kB / 1.308 GB, free: 6.59 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.001518/0.9261, allocations: 0.6307 MB / 1.308 GB, free: 5.953 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001367/0.9275, allocations: 0.6356 MB / 1.309 GB, free: 5.246 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.0023/0.9298, allocations: 0.9569 MB / 1.31 GB, free: 4.23 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.268e-06/0.9298, allocations: 4 kB / 1.31 GB, free: 4.227 MB / 1.029 GB Notification: Performance of matching and sorting (n=118) (initialization_lambda0): time 0.003128/0.9329, allocations: 1.235 MB / 1.311 GB, free: 2.977 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.177e-05/0.933, allocations: 41.64 kB / 1.311 GB, free: 2.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.704e-06/0.933, allocations: 12.16 kB / 1.311 GB, free: 2.918 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.157e-05/0.933, allocations: 8 kB / 1.311 GB, free: 2.91 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001229/0.9343, allocations: 267.6 kB / 1.312 GB, free: 2.648 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.768e-05/0.9343, allocations: 8 kB / 1.312 GB, free: 2.641 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001375/0.9357, allocations: 143.3 kB / 1.312 GB, free: 2.5 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.9358, allocations: 47.97 kB / 1.312 GB, free: 2.453 MB / 1.029 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.0003096/0.9361, allocations: 236 kB / 1.312 GB, free: 2.215 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003449/0.9365, allocations: 146.2 kB / 1.312 GB, free: 2.07 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003141/0.9396, allocations: 1.242 MB / 1.313 GB, free: 0.8359 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/0.9396, allocations: 7.984 kB / 1.313 GB, free: 0.8281 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.467e-06/0.9396, allocations: 7.875 kB / 1.313 GB, free: 0.8203 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005769/0.9402, allocations: 354.7 kB / 1.314 GB, free: 464 kB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002302/0.9405, allocations: 16 kB / 1.314 GB, free: 448 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001126/0.9416, allocations: 100.5 kB / 1.314 GB, free: 348 kB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001551/0.9418, allocations: 64.91 kB / 1.314 GB, free: 284 kB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.003596/0.9454, allocations: 1.206 MB / 1.315 GB, free: 15.06 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.004192/0.9496, allocations: 1.834 MB / 1.317 GB, free: 13.21 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.001209/0.9508, allocations: 0.4958 MB / 1.317 GB, free: 12.71 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.001393/0.9522, allocations: 0.8011 MB / 1.318 GB, free: 11.91 MB / 1.045 GB Notification: Performance of Backend: time 3.7e-07/0.9522, allocations: 0 / 1.318 GB, free: 11.91 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.006249/0.9585, allocations: 2.033 MB / 1.32 GB, free: 9.867 MB / 1.045 GB Notification: Performance of SimCode: time 0.005227/0.9637, allocations: 2.928 MB / 1.323 GB, free: 6.895 MB / 1.045 GB Notification: Performance of Templates: time 0.05824/1.022, allocations: 35.67 MB / 1.358 GB, free: 3.582 MB / 1.076 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches