Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001023/0.001023, allocations: 98.88 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00133/0.00133, allocations: 188.4 kB / 16.92 MB, free: 6.684 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.474/1.474, allocations: 223.3 MB / 241 MB, free: 5.254 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.955/2.955, allocations: 462.6 MB / 0.737 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003794/0.0003792, allocations: 10.88 kB / 0.9034 GB, free: 36.42 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3429/0.3433, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.9802/1.324, allocations: 222.6 MB / 1.277 GB, free: 3.051 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.02159/1.345, allocations: 14.54 MB / 1.291 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003842/1.349, allocations: 67.69 kB / 1.291 GB, free: 2.75 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.003829/1.353, allocations: 0.9429 MB / 1.292 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.009791/1.363, allocations: 2.499 MB / 1.294 GB, free: 2.609 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.005854/1.369, allocations: 1.629 MB / 1.296 GB, free: 2.562 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.01045/1.379, allocations: 6.329 MB / 1.302 GB, free: 2.551 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004003/1.383, allocations: 1.544 MB / 1.304 GB, free: 2.293 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00647/1.39, allocations: 1.982 MB / 1.306 GB, free: 2.258 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004113/1.394, allocations: 1.336 MB / 1.307 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 0.000861/1.395, allocations: 73.22 kB / 1.307 GB, free: 2.238 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007386/1.402, allocations: 2.141 MB / 1.309 GB, free: 2.211 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 0.001615/1.404, allocations: 0.5792 MB / 1.31 GB, free: 2.207 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 0.004119/1.408, allocations: 1.11 MB / 1.311 GB, free: 2.176 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.00671/1.415, allocations: 3.44 MB / 1.314 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 6.482e-06/1.415, allocations: 2.625 kB / 1.314 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of FrontEnd: time 3.116e-06/1.415, allocations: 1.125 kB / 1.314 GB, free: 1.953 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 0.0001682/1.415, allocations: 0 / 1.314 GB, free: 1.953 MB / 0.9981 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 331 * Number of variables: 331 Notification: Performance of Generate backend data structure: time 0.007111/1.422, allocations: 2.483 MB / 1.316 GB, free: 16.49 MB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 5.48e-05/1.422, allocations: 9.781 kB / 1.316 GB, free: 16.49 MB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002692/1.425, allocations: 389.8 kB / 1.317 GB, free: 16.36 MB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004945/1.43, allocations: 1.905 MB / 1.319 GB, free: 15.86 MB / 1.014 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001413/1.43, allocations: 112.6 kB / 1.319 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005141/1.43, allocations: 142.5 kB / 1.319 GB, free: 15.85 MB / 1.014 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004033/1.434, allocations: 1.612 MB / 1.321 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.844e-05/1.435, allocations: 2.906 kB / 1.321 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001896/1.435, allocations: 55.81 kB / 1.321 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.644e-05/1.435, allocations: 49.58 kB / 1.321 GB, free: 15.68 MB / 1.014 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002465/1.437, allocations: 1.243 MB / 1.322 GB, free: 15.66 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.01122/1.449, allocations: 6.633 MB / 1.328 GB, free: 13.12 MB / 1.014 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001616/1.45, allocations: 0.9541 MB / 1.329 GB, free: 13 MB / 1.014 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009192/1.451, allocations: 0.6321 MB / 1.33 GB, free: 12.99 MB / 1.014 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006922/1.452, allocations: 0.6817 MB / 1.331 GB, free: 12.24 MB / 1.014 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.262e-05/1.452, allocations: 45.53 kB / 1.331 GB, free: 12.2 MB / 1.014 GB Notification: Performance of pre-optimization done (n=82): time 2.675e-06/1.452, allocations: 0 / 1.331 GB, free: 12.2 MB / 1.014 GB Notification: Performance of matching and sorting (n=84): time 0.007086/1.459, allocations: 3.615 MB / 1.334 GB, free: 11.23 MB / 1.014 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.216e-05/1.459, allocations: 147.8 kB / 1.334 GB, free: 11.08 MB / 1.014 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00406/1.463, allocations: 2.001 MB / 1.336 GB, free: 10.85 MB / 1.014 GB Notification: Performance of collectPreVariables (initialization): time 0.000163/1.463, allocations: 48.36 kB / 1.336 GB, free: 10.82 MB / 1.014 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008144/1.464, allocations: 0.8853 MB / 1.337 GB, free: 10.57 MB / 1.014 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003315/1.465, allocations: 299.7 kB / 1.337 GB, free: 10.38 MB / 1.014 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001563/1.465, allocations: 89.3 kB / 1.338 GB, free: 10.36 MB / 1.014 GB Notification: Performance of setup shared object (initialization): time 0.0001424/1.465, allocations: 345 kB / 1.338 GB, free: 10.06 MB / 1.014 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008905/1.466, allocations: 0.6142 MB / 1.338 GB, free: 10.06 MB / 1.014 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001083/1.467, allocations: 0.8516 MB / 1.339 GB, free: 9.852 MB / 1.014 GB Warning: It was not possible to determine if the initialization problem is consistent, because of not evaluable parameters/start values during compile time: vol.dynBal.medium.p = vol.dynBal.p_start (bou.p = vol.dynBal.p_start) Notification: Performance of analyzeInitialSystem (initialization): time 0.006122/1.473, allocations: 3.915 MB / 1.343 GB, free: 8.918 MB / 1.014 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.641e-06/1.473, allocations: 0 / 1.343 GB, free: 8.918 MB / 1.014 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002903/1.476, allocations: 1.875 MB / 1.345 GB, free: 8.566 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 0.000276/1.476, allocations: 399.6 kB / 1.345 GB, free: 8.145 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.464e-05/1.476, allocations: 5.969 kB / 1.345 GB, free: 8.141 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.345e-05/1.476, allocations: 13.41 kB / 1.345 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006907/1.477, allocations: 180 kB / 1.345 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.873e-05/1.477, allocations: 6.969 kB / 1.345 GB, free: 8.137 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00178/1.479, allocations: 121.3 kB / 1.346 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001179/1.479, allocations: 43.22 kB / 1.346 GB, free: 8.121 MB / 1.014 GB Notification: Performance of prepare postOptimizeDAE: time 1.139e-05/1.479, allocations: 5.062 kB / 1.346 GB, free: 8.121 MB / 1.014 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002393/1.481, allocations: 1.871 MB / 1.347 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.06e-05/1.481, allocations: 3.594 kB / 1.347 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.314e-05/1.481, allocations: 8 kB / 1.347 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006726/1.482, allocations: 176.6 kB / 1.348 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.928e-05/1.482, allocations: 13.3 kB / 1.348 GB, free: 7.906 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001803/1.484, allocations: 119 kB / 1.348 GB, free: 7.891 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001112/1.484, allocations: 43.2 kB / 1.348 GB, free: 7.891 MB / 1.014 GB Warning: The initial conditions are over specified. The following 1 initial equations are redundant, so they are removed from the initialization sytem: vol.dynBal.medium.p = vol.dynBal.p_start. Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * Number of states: 0 () * Number of discrete variables: 4 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i,conPID.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (108): * Single equations (assignments): 102 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * 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.001379/1.485, allocations: 0.7122 MB / 1.349 GB, free: 7.598 MB / 1.014 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005581/1.486, allocations: 190.2 kB / 1.349 GB, free: 7.5 MB / 1.014 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002543/1.489, allocations: 1.479 MB / 1.35 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.414e-05/1.489, allocations: 8.531 kB / 1.35 GB, free: 7.309 MB / 1.014 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.127e-05/1.489, allocations: 6.875 kB / 1.35 GB, free: 7.305 MB / 1.014 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.00171/1.49, allocations: 1.518 MB / 1.352 GB, free: 6.754 MB / 1.014 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006401/1.497, allocations: 3.595 MB / 1.355 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.436e-05/1.497, allocations: 5.719 kB / 1.355 GB, free: 5.445 MB / 1.014 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007149/1.497, allocations: 162.5 kB / 1.355 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.541e-05/1.497, allocations: 11.25 kB / 1.355 GB, free: 5.422 MB / 1.014 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.939e-05/1.498, allocations: 26.47 kB / 1.355 GB, free: 5.41 MB / 1.014 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.448e-05/1.498, allocations: 15.5 kB / 1.355 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.36e-06/1.498, allocations: 7.969 kB / 1.355 GB, free: 5.406 MB / 1.014 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003563/1.501, allocations: 2.376 MB / 1.358 GB, free: 3.965 MB / 1.014 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001346/1.503, allocations: 443.5 kB / 1.358 GB, free: 3.602 MB / 1.014 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006533/1.503, allocations: 30.11 kB / 1.358 GB, free: 3.586 MB / 1.014 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00158/1.505, allocations: 101.1 kB / 1.358 GB, free: 3.535 MB / 1.014 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002652/1.505, allocations: 100.7 kB / 1.358 GB, free: 3.48 MB / 1.014 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001006/1.505, allocations: 34.3 kB / 1.358 GB, free: 3.473 MB / 1.014 GB Notification: Performance of sorting global known variables: time 0.002951/1.508, allocations: 1.402 MB / 1.36 GB, free: 2.676 MB / 1.014 GB Notification: Performance of sort global known variables: time 2.2e-07/1.508, allocations: 0 / 1.36 GB, free: 2.676 MB / 1.014 GB Notification: Performance of remove unused functions: time 0.00374/1.512, allocations: 0.7865 MB / 1.361 GB, free: 2.598 MB / 1.014 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 21 * Number of states: 4 (conPID.I.y,vol.dynBal.medium.Xi[1],vol.dynBal.U,beaCoo.conCoo.hex.vol.dynBal.U) * Number of discrete variables: 3 (beaCoo.conCoo.mod.temDif_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.airFlo_mod.i) * Number of discrete states: 3 (beaCoo.conCoo.mod.airFlo_mod.i,beaCoo.conCoo.mod.watFlo_mod.i,beaCoo.conCoo.mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (82): * Single equations (assignments): 77 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001243/1.513, allocations: 429.3 kB / 1.361 GB, free: 2.383 MB / 1.014 GB Notification: Performance of simCode: created initialization part: time 0.004438/1.518, allocations: 3.071 MB / 1.364 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of simCode: created event and clocks part: time 8.647e-06/1.518, allocations: 3.281 kB / 1.364 GB, free: 0.5039 MB / 1.014 GB Notification: Performance of simCode: created simulation system equations: time 0.001354/1.519, allocations: 0.9962 MB / 1.365 GB, free: 15.91 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007283/1.526, allocations: 1.014 MB / 1.366 GB, free: 15.43 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009345/1.536, allocations: 4.621 MB / 1.37 GB, free: 12.28 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002018/1.538, allocations: 1.52 MB / 1.372 GB, free: 11.16 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000703/1.538, allocations: 141.8 kB / 1.372 GB, free: 11.14 MB / 1.029 GB Notification: Performance of SimCode: time 1.102e-06/1.538, allocations: 0 / 1.372 GB, free: 11.14 MB / 1.029 GB Notification: Performance of Templates: time 0.05883/1.597, allocations: 33.98 MB / 1.405 GB, free: 14.47 MB / 1.061 GB make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches