Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.327/2.327, allocations: 390.3 MB / 405.3 MB, free: 13.43 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001165/0.001164, allocations: 187.3 kB / 498.1 MB, free: 5.688 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.494/1.494, allocations: 223.2 MB / 0.7948 GB, free: 17.92 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001096/0.001096, allocations: 102.3 kB / 0.9346 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003338/0.0003338, allocations: 12.94 kB / 1.084 GB, free: 221.2 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.282/0.2823, allocations: 142.3 MB / 1.223 GB, free: 114.3 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1872/0.4696, allocations: 153.6 MB / 1.373 GB, free: 8.52 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000332/0.47, allocations: 99.88 kB / 1.373 GB, free: 8.422 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.02141/0.4914, allocations: 6.967 MB / 1.38 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of FrontEnd: time 2.575e-06/0.4915, allocations: 0 / 1.38 GB, free: 1.438 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 2.834e-05/0.4915, allocations: 4 kB / 1.38 GB, free: 1.434 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 37 * Number of variables: 37 Notification: Performance of Generate backend data structure: time 0.001399/0.4929, allocations: 0.7853 MB / 1.381 GB, free: 0.5586 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 4.592e-05/0.493, allocations: 8.031 kB / 1.381 GB, free: 0.5508 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001438/0.4931, allocations: 43.48 kB / 1.381 GB, free: 0.5078 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000521/0.4937, allocations: 307 kB / 1.381 GB, free: 176 kB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.399e-05/0.4937, allocations: 16.28 kB / 1.381 GB, free: 160 kB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.538e-05/0.4937, allocations: 19.98 kB / 1.381 GB, free: 140 kB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000667/0.4944, allocations: 307 kB / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.322e-05/0.4945, allocations: 0 / 1.381 GB, free: 15.83 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/0.4945, allocations: 8 kB / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.4945, allocations: 0 / 1.381 GB, free: 15.82 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006912/0.4952, allocations: 304.4 kB / 1.382 GB, free: 15.52 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00138/0.4966, allocations: 0.7425 MB / 1.382 GB, free: 14.73 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005842/0.4972, allocations: 250.6 kB / 1.382 GB, free: 14.48 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 1.716e-05/0.4972, allocations: 8 kB / 1.382 GB, free: 14.47 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.796e-05/0.4972, allocations: 30.56 kB / 1.383 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=14): time 1.453e-06/0.4973, allocations: 0 / 1.383 GB, free: 14.43 MB / 0.8855 GB Notification: Performance of matching and sorting (n=14): time 0.001553/0.4988, allocations: 0.9501 MB / 1.383 GB, free: 13.41 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.564e-05/0.4989, allocations: 136.5 kB / 1.384 GB, free: 13.24 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004185/0.4994, allocations: 343.7 kB / 1.384 GB, free: 12.9 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.4994, allocations: 37.64 kB / 1.384 GB, free: 12.86 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/0.4996, allocations: 172.3 kB / 1.384 GB, free: 12.68 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.778e-05/0.4996, allocations: 39.39 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.666e-05/0.4996, allocations: 8 kB / 1.384 GB, free: 12.64 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001547/0.4998, allocations: 338.8 kB / 1.384 GB, free: 12.3 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004518/0.5003, allocations: 255.8 kB / 1.385 GB, free: 12.05 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004512/0.5007, allocations: 247.8 kB / 1.385 GB, free: 11.8 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005266/0.5013, allocations: 416.6 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.106e-06/0.5013, allocations: 4 kB / 1.385 GB, free: 11.36 MB / 0.8855 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001159/0.5024, allocations: 0.7453 MB / 1.386 GB, free: 10.57 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001279/0.5026, allocations: 178.8 kB / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.682e-06/0.5026, allocations: 0 / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.261e-05/0.5026, allocations: 4 kB / 1.386 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001985/0.5028, allocations: 43.89 kB / 1.386 GB, free: 10.31 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.528e-06/0.5029, allocations: 8 kB / 1.386 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002483/0.5031, allocations: 51.67 kB / 1.386 GB, free: 10.25 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/0.5032, allocations: 20 kB / 1.386 GB, free: 10.23 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 6 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002841/0.5035, allocations: 259.4 kB / 1.387 GB, free: 9.953 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.561e-05/0.5035, allocations: 31.62 kB / 1.387 GB, free: 9.922 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.954e-05/0.5036, allocations: 26.94 kB / 1.387 GB, free: 9.891 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.66e-06/0.5036, allocations: 4 kB / 1.387 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.102e-06/0.5036, allocations: 0 / 1.387 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.336e-06/0.5037, allocations: 0 / 1.387 GB, free: 9.887 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004176/0.5041, allocations: 345.3 kB / 1.387 GB, free: 9.5 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.733e-06/0.5041, allocations: 7.938 kB / 1.387 GB, free: 9.492 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000179/0.5043, allocations: 43.91 kB / 1.387 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.967e-06/0.5043, allocations: 0 / 1.387 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.112e-05/0.5043, allocations: 4 kB / 1.387 GB, free: 9.445 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.404e-06/0.5043, allocations: 4 kB / 1.387 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.5043, allocations: 0 / 1.387 GB, free: 9.441 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001008/0.5053, allocations: 0.6564 MB / 1.388 GB, free: 8.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000108/0.5055, allocations: 116.7 kB / 1.388 GB, free: 8.617 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.734e-05/0.5055, allocations: 8 kB / 1.388 GB, free: 8.609 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002287/0.5058, allocations: 39.95 kB / 1.388 GB, free: 8.57 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001261/0.5059, allocations: 27.97 kB / 1.388 GB, free: 8.543 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.864e-05/0.5059, allocations: 4 kB / 1.388 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.0003135/0.5062, allocations: 271 kB / 1.388 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5063, allocations: 0 / 1.388 GB, free: 8.277 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005359/0.5068, allocations: 115.9 kB / 1.388 GB, free: 8.164 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (mod.temDif_mod.i,mod.watFlo_mod.i,mod.airFlo_mod.i) * Number of discrete states: 3 (mod.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_mod.i) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 3 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006585/0.5075, allocations: 300.6 kB / 1.389 GB, free: 7.863 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.001226/0.5087, allocations: 0.8556 MB / 1.389 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.5087, allocations: 0 / 1.389 GB, free: 6.934 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0005288/0.5092, allocations: 398 kB / 1.39 GB, free: 6.508 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003676/0.5096, allocations: 65.34 kB / 1.39 GB, free: 6.441 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001176/0.5108, allocations: 0.7109 MB / 1.391 GB, free: 5.707 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004268/0.5112, allocations: 0.7947 MB / 1.391 GB, free: 4.887 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 0.0001079/0.5114, allocations: 21.95 kB / 1.391 GB, free: 4.867 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.961e-05/0.5114, allocations: 19.44 kB / 1.391 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of SimCode: time 5.41e-07/0.5114, allocations: 0 / 1.391 GB, free: 4.852 MB / 0.8855 GB Notification: Performance of Templates: time 0.01285/0.5243, allocations: 6.482 MB / 1.398 GB, free: 14.43 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches