Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.313/1.313, allocations: 251.9 MB / 266.9 MB, free: 11.03 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001016/0.001016, allocations: 186.9 kB / 326.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.677/1.677, allocations: 205.4 MB / 0.5775 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001011/0.001011, allocations: 86.36 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003599/0.0003599, allocations: 14.86 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1827/0.183, allocations: 106.3 MB / 0.9001 GB, free: 63.96 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1592/0.3423, allocations: 136.1 MB / 1.033 GB, free: 7.684 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/0.3426, allocations: 107.9 kB / 1.033 GB, free: 7.578 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02046/0.3631, allocations: 6.903 MB / 1.04 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.853e-06/0.3631, allocations: 0 / 1.04 GB, free: 0.6641 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 2.129e-05/0.3631, allocations: 4 kB / 1.04 GB, free: 0.6602 MB / 0.6823 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.001167/0.3643, allocations: 0.7855 MB / 1.041 GB, free: 15.79 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.227e-05/0.3644, allocations: 8.031 kB / 1.041 GB, free: 15.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001065/0.3645, allocations: 31.62 kB / 1.041 GB, free: 15.75 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00043/0.3649, allocations: 318.9 kB / 1.041 GB, free: 15.39 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.148e-05/0.365, allocations: 16.28 kB / 1.041 GB, free: 15.38 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.645e-05/0.365, allocations: 20 kB / 1.041 GB, free: 15.36 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006127/0.3656, allocations: 306.8 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.3656, allocations: 4 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.331e-05/0.3657, allocations: 4 kB / 1.041 GB, free: 15.05 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3657, allocations: 4 kB / 1.041 GB, free: 15.04 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006603/0.3664, allocations: 304.4 kB / 1.042 GB, free: 14.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001249/0.3676, allocations: 0.7348 MB / 1.042 GB, free: 13.96 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005541/0.3682, allocations: 254.6 kB / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.564e-05/0.3682, allocations: 0 / 1.043 GB, free: 13.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.863e-05/0.3682, allocations: 46.5 kB / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of pre-optimization done (n=14): time 1.714e-06/0.3683, allocations: 0 / 1.043 GB, free: 13.65 MB / 0.698 GB Notification: Performance of matching and sorting (n=14): time 0.001451/0.3697, allocations: 0.9467 MB / 1.044 GB, free: 12.62 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.314e-05/0.3698, allocations: 136.5 kB / 1.044 GB, free: 12.46 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003884/0.3702, allocations: 339.7 kB / 1.044 GB, free: 12.12 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 3.13e-05/0.3702, allocations: 33.7 kB / 1.044 GB, free: 12.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001111/0.3704, allocations: 164.3 kB / 1.044 GB, free: 11.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 4.76e-05/0.3704, allocations: 43.42 kB / 1.044 GB, free: 11.87 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.626e-05/0.3704, allocations: 11.94 kB / 1.044 GB, free: 11.86 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000124/0.3706, allocations: 346.8 kB / 1.045 GB, free: 11.51 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004402/0.371, allocations: 243.9 kB / 1.045 GB, free: 11.27 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004178/0.3714, allocations: 261.1 kB / 1.045 GB, free: 11.02 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000493/0.3719, allocations: 410.1 kB / 1.045 GB, free: 10.58 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.372, allocations: 4 kB / 1.045 GB, free: 10.58 MB / 0.698 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001102/0.3731, allocations: 0.7452 MB / 1.046 GB, free: 9.789 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.3732, allocations: 182.2 kB / 1.046 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.3732, allocations: 0 / 1.046 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.3732, allocations: 0 / 1.046 GB, free: 9.574 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001921/0.3734, allocations: 43.97 kB / 1.046 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.3734, allocations: 0 / 1.046 GB, free: 9.531 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.3737, allocations: 47.81 kB / 1.046 GB, free: 9.484 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.806e-05/0.3737, allocations: 23.98 kB / 1.046 GB, free: 9.461 MB / 0.698 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.0002126/0.3739, allocations: 259.3 kB / 1.047 GB, free: 9.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.579e-05/0.374, allocations: 31.62 kB / 1.047 GB, free: 9.148 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.072e-05/0.3741, allocations: 26.94 kB / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.3741, allocations: 0 / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3741, allocations: 0 / 1.047 GB, free: 9.117 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.322e-06/0.3741, allocations: 7.984 kB / 1.047 GB, free: 9.109 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003267/0.3744, allocations: 353.2 kB / 1.047 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.3744, allocations: 0 / 1.047 GB, free: 8.715 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001741/0.3746, allocations: 39.97 kB / 1.047 GB, free: 8.676 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.325e-06/0.3746, allocations: 0 / 1.047 GB, free: 8.676 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.302e-05/0.3746, allocations: 8 kB / 1.047 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.3747, allocations: 0 / 1.047 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.395e-06/0.3747, allocations: 0 / 1.047 GB, free: 8.668 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000935/0.3756, allocations: 0.6602 MB / 1.048 GB, free: 7.973 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 8.33e-05/0.3757, allocations: 108.7 kB / 1.048 GB, free: 7.848 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.062e-05/0.3757, allocations: 4 kB / 1.048 GB, free: 7.844 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002282/0.376, allocations: 43.97 kB / 1.048 GB, free: 7.801 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001104/0.3761, allocations: 23.97 kB / 1.048 GB, free: 7.777 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.81e-05/0.3761, allocations: 8 kB / 1.048 GB, free: 7.77 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.0002711/0.3764, allocations: 271 kB / 1.048 GB, free: 7.504 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.31e-07/0.3764, allocations: 0 / 1.048 GB, free: 7.504 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0004851/0.3769, allocations: 123.8 kB / 1.048 GB, free: 7.383 MB / 0.698 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.0004663/0.3774, allocations: 286.7 kB / 1.049 GB, free: 7.098 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.001078/0.3785, allocations: 0.871 MB / 1.049 GB, free: 6.152 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.3785, allocations: 0 / 1.049 GB, free: 6.152 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0004895/0.379, allocations: 394 kB / 1.05 GB, free: 5.73 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00033/0.3793, allocations: 69.34 kB / 1.05 GB, free: 5.664 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009706/0.3803, allocations: 0.711 MB / 1.051 GB, free: 4.93 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003269/0.3806, allocations: 0.7908 MB / 1.051 GB, free: 4.113 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 8.316e-05/0.3807, allocations: 21.95 kB / 1.051 GB, free: 4.09 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.743e-05/0.3808, allocations: 15.44 kB / 1.051 GB, free: 4.074 MB / 0.698 GB Notification: Performance of SimCode: time 4.71e-07/0.3808, allocations: 0 / 1.051 GB, free: 4.074 MB / 0.698 GB Notification: Performance of Templates: time 0.3627/0.7435, allocations: 6.49 MB / 1.058 GB, free: 150 MB / 0.698 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches