Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.ActiveBeams.Examples.CoolingOnly,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|vol.T|beaCoo.heaToRoo.Q_flow",fileNamePrefix="Buildings_10_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_10_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.001103/0.001103, allocations: 90.05 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.001787/0.001787, allocations: 181.3 kB / 16.92 MB, free: 6.926 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.443/1.443, allocations: 223.3 MB / 241 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.699/2.699, allocations: 437.8 MB / 0.7128 GB, free: 6.957 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003938/0.0003939, allocations: 8 kB / 0.8735 GB, free: 3.309 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7923/0.7927, allocations: 153.8 MB / 1.024 GB, free: 15.89 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly): time 0.2496/1.042, allocations: 222.7 MB / 1.241 GB, free: 444 kB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.8066/1.849, allocations: 14.53 MB / 1.255 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003979/1.853, allocations: 67.31 kB / 1.255 GB, free: 10.76 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.004031/1.857, allocations: 0.9406 MB / 1.256 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.01018/1.867, allocations: 2.498 MB / 1.259 GB, free: 10.63 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.006365/1.874, allocations: 1.633 MB / 1.26 GB, free: 10.58 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.01339/1.887, allocations: 6.325 MB / 1.267 GB, free: 10.57 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004637/1.892, allocations: 1.543 MB / 1.268 GB, free: 10.32 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.007346/1.899, allocations: 1.978 MB / 1.27 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004862/1.904, allocations: 1.326 MB / 1.271 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0009623/1.905, allocations: 72.75 kB / 1.271 GB, free: 10.29 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.007649/1.913, allocations: 2.144 MB / 1.273 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.001563/1.914, allocations: 0.5724 MB / 1.274 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.00412/1.919, allocations: 1.116 MB / 1.275 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.006423/1.925, allocations: 3.436 MB / 1.278 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.671e-06/1.925, allocations: 0 / 1.278 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of FrontEnd: time 3.076e-06/1.925, allocations: 4 kB / 1.278 GB, free: 10.01 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 8.867e-05/1.925, allocations: 2.781 kB / 1.278 GB, free: 10.01 MB / 0.9825 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.005337/1.93, allocations: 2.489 MB / 1.281 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 5.831e-05/1.931, allocations: 12.3 kB / 1.281 GB, free: 8.539 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001847/1.932, allocations: 389 kB / 1.281 GB, free: 8.406 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003334/1.936, allocations: 1.899 MB / 1.283 GB, free: 7.918 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.884e-05/1.936, allocations: 110.1 kB / 1.283 GB, free: 7.91 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/1.936, allocations: 142.7 kB / 1.283 GB, free: 7.906 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002775/1.939, allocations: 1.617 MB / 1.285 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.579e-05/1.939, allocations: 1.594 kB / 1.285 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/1.939, allocations: 54.97 kB / 1.285 GB, free: 7.742 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.479e-05/1.939, allocations: 49.31 kB / 1.285 GB, free: 7.738 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002096/1.941, allocations: 1.247 MB / 1.286 GB, free: 7.719 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.00932/1.951, allocations: 6.622 MB / 1.293 GB, free: 5.184 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001496/1.952, allocations: 0.9711 MB / 1.294 GB, free: 5.055 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008456/1.953, allocations: 0.631 MB / 1.294 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005376/1.953, allocations: 0.6864 MB / 1.295 GB, free: 4.285 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/1.954, allocations: 41.19 kB / 1.295 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=82): time 2.906e-06/1.954, allocations: 0 / 1.295 GB, free: 4.246 MB / 0.9825 GB Notification: Performance of matching and sorting (n=84): time 0.00809/1.962, allocations: 3.619 MB / 1.299 GB, free: 3.297 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.345e-05/1.962, allocations: 151.5 kB / 1.299 GB, free: 3.137 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003735/1.966, allocations: 2 MB / 1.301 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 0.0002281/1.966, allocations: 43.45 kB / 1.301 GB, free: 2.883 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.001108/1.967, allocations: 0.8894 MB / 1.302 GB, free: 2.629 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 0.0004032/1.967, allocations: 289 kB / 1.302 GB, free: 2.445 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001768/1.967, allocations: 90.77 kB / 1.302 GB, free: 2.43 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000144/1.968, allocations: 344.7 kB / 1.302 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001038/1.969, allocations: 0.6138 MB / 1.303 GB, free: 2.125 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00113/1.97, allocations: 0.8603 MB / 1.304 GB, free: 1.918 MB / 0.9825 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.006005/1.976, allocations: 3.913 MB / 1.307 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.248e-06/1.976, allocations: 0 / 1.307 GB, free: 0.9961 MB / 0.9825 GB Notification: Performance of matching and sorting (n=122) (initialization): time 0.002891/1.979, allocations: 1.874 MB / 1.309 GB, free: 0.6641 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001928/1.979, allocations: 407.8 kB / 1.31 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.082e-05/1.979, allocations: 2.906 kB / 1.31 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.598e-05/1.979, allocations: 8.438 kB / 1.31 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006952/1.98, allocations: 179 kB / 1.31 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.7e-05/1.98, allocations: 15.42 kB / 1.31 GB, free: 252 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001734/1.981, allocations: 113.6 kB / 1.31 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001007/1.982, allocations: 41.59 kB / 1.31 GB, free: 236 kB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 9.628e-06/1.982, allocations: 5.031 kB / 1.31 GB, free: 236 kB / 0.9825 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002338/1.984, allocations: 1.872 MB / 1.312 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.362e-06/1.984, allocations: 2.719 kB / 1.312 GB, free: 32 kB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.03e-05/1.984, allocations: 13.09 kB / 1.312 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/1.985, allocations: 175.3 kB / 1.312 GB, free: 28 kB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/1.985, allocations: 16.36 kB / 1.312 GB, free: 24 kB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001708/1.986, allocations: 113.9 kB / 1.312 GB, free: 12 kB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.786e-05/1.986, allocations: 50.11 kB / 1.312 GB, free: 8 kB / 0.9825 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.001421/1.988, allocations: 0.7065 MB / 1.313 GB, free: 15.72 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004071/1.988, allocations: 190.5 kB / 1.313 GB, free: 15.62 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/1.991, allocations: 1.486 MB / 1.315 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.622e-05/1.991, allocations: 11.91 kB / 1.315 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.574e-06/1.991, allocations: 0 / 1.315 GB, free: 15.45 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001692/1.992, allocations: 1.519 MB / 1.316 GB, free: 14.89 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006295/1.999, allocations: 3.592 MB / 1.32 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.267e-05/1.999, allocations: 6.688 kB / 1.32 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007088/1.999, allocations: 159.6 kB / 1.32 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.345e-05/1.999, allocations: 6.406 kB / 1.32 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.768e-05/2, allocations: 30.44 kB / 1.32 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.787e-05/2, allocations: 13.27 kB / 1.32 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.184e-06/2, allocations: 9.125 kB / 1.32 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003515/2.003, allocations: 2.373 MB / 1.322 GB, free: 13.08 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001192/2.004, allocations: 447.3 kB / 1.323 GB, free: 12.76 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005517/2.005, allocations: 30.47 kB / 1.323 GB, free: 12.75 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001454/2.006, allocations: 95.7 kB / 1.323 GB, free: 12.72 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002478/2.007, allocations: 99.83 kB / 1.323 GB, free: 12.7 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001055/2.007, allocations: 39.38 kB / 1.323 GB, free: 12.69 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.003006/2.01, allocations: 1.397 MB / 1.324 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of sort global known variables: time 4.31e-07/2.01, allocations: 0 / 1.324 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.002858/2.013, allocations: 0.7894 MB / 1.325 GB, free: 12.03 MB / 0.9981 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.001003/2.014, allocations: 431.4 kB / 1.325 GB, free: 11.86 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.004358/2.018, allocations: 3.065 MB / 1.328 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/2.018, allocations: 2.531 kB / 1.328 GB, free: 10.23 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/2.019, allocations: 1.006 MB / 1.329 GB, free: 9.715 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007237/2.027, allocations: 1.014 MB / 1.33 GB, free: 9.445 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.009055/2.036, allocations: 4.623 MB / 1.335 GB, free: 6.566 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001842/2.038, allocations: 1.523 MB / 1.336 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007245/2.038, allocations: 140.6 kB / 1.336 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of SimCode: time 1.333e-06/2.038, allocations: 0 / 1.336 GB, free: 5.434 MB / 0.9981 GB Notification: Performance of Templates: time 0.06125/2.1, allocations: 33.96 MB / 1.37 GB, free: 9.984 MB / 1.029 GB make -j1 -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.makefile (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.sim & ./Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_Examples_CoolingOnly.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.Examples.CoolingOnly.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches