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.488/1.488, allocations: 249.5 MB / 257 MB, free: 6.887 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001186/0.001186, allocations: 184.8 kB / 316.3 MB, free: 3.234 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.881/1.881, allocations: 205.3 MB / 0.5671 GB, free: 15.88 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.001045/0.001045, allocations: 98.45 kB / 0.6714 GB, free: 4.992 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.083e-05/3.085e-05, allocations: 4 kB / 0.7814 GB, free: 102.7 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2427/0.2428, allocations: 106.3 MB / 0.8852 GB, free: 12.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8929/1.136, allocations: 136.3 MB / 1.018 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003019/1.136, allocations: 94.19 kB / 1.018 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01957/1.156, allocations: 6.814 MB / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.184e-06/1.156, allocations: 0 / 1.025 GB, free: 11.74 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.854e-05/1.156, allocations: 7.938 kB / 1.025 GB, free: 11.73 MB / 0.6511 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.001056/1.157, allocations: 0.7289 MB / 1.026 GB, free: 10.95 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.112e-05/1.157, allocations: 12.03 kB / 1.026 GB, free: 10.93 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.348e-05/1.157, allocations: 35.53 kB / 1.026 GB, free: 10.9 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004364/1.157, allocations: 311.3 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.862e-05/1.157, allocations: 7.984 kB / 1.026 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.309e-05/1.157, allocations: 12 kB / 1.026 GB, free: 10.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003337/1.158, allocations: 189.9 kB / 1.026 GB, free: 10.45 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003612/1.158, allocations: 237.3 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.07e-05/1.158, allocations: 0 / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.646e-05/1.158, allocations: 7.688 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/1.158, allocations: 4 kB / 1.027 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001173/1.159, allocations: 0.6851 MB / 1.027 GB, free: 9.676 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003835/1.16, allocations: 194.1 kB / 1.027 GB, free: 9.531 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002088/1.16, allocations: 154.9 kB / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 1.837e-05/1.16, allocations: 0 / 1.028 GB, free: 9.422 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.865e-05/1.16, allocations: 34.56 kB / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=14): time 1.944e-06/1.16, allocations: 0 / 1.028 GB, free: 9.379 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14): time 0.0006818/1.161, allocations: 339.3 kB / 1.028 GB, free: 9.125 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.579e-05/1.161, allocations: 143.5 kB / 1.028 GB, free: 8.957 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003407/1.161, allocations: 301.4 kB / 1.028 GB, free: 8.723 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.104e-05/1.161, allocations: 29.7 kB / 1.028 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000127/1.161, allocations: 168.4 kB / 1.029 GB, free: 8.555 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 4.664e-05/1.161, allocations: 45.36 kB / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.459e-05/1.162, allocations: 0 / 1.029 GB, free: 8.516 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.162, allocations: 344 kB / 1.029 GB, free: 8.184 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002434/1.162, allocations: 187.7 kB / 1.029 GB, free: 8.059 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002281/1.162, allocations: 194.8 kB / 1.029 GB, free: 7.93 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003287/1.162, allocations: 192.8 kB / 1.029 GB, free: 7.801 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/1.163, allocations: 7.875 kB / 1.029 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0006921/1.163, allocations: 478.1 kB / 1.03 GB, free: 7.441 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001252/1.163, allocations: 183.9 kB / 1.03 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.543e-06/1.163, allocations: 0 / 1.03 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.585e-05/1.163, allocations: 0 / 1.03 GB, free: 7.23 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002014/1.164, allocations: 35.97 kB / 1.03 GB, free: 7.195 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.901e-06/1.164, allocations: 4 kB / 1.03 GB, free: 7.191 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002203/1.164, allocations: 51.31 kB / 1.03 GB, free: 7.145 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.068e-05/1.164, allocations: 11.98 kB / 1.03 GB, free: 7.133 MB / 0.6511 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 () * 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.0001846/1.164, allocations: 201.7 kB / 1.03 GB, free: 6.914 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.869e-05/1.164, allocations: 39.61 kB / 1.03 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.603e-05/1.164, allocations: 24.78 kB / 1.03 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/1.164, allocations: 0 / 1.03 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/1.164, allocations: 3.984 kB / 1.03 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/1.164, allocations: 0 / 1.03 GB, free: 6.855 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003388/1.165, allocations: 305.4 kB / 1.031 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/1.165, allocations: 0 / 1.031 GB, free: 6.574 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001738/1.165, allocations: 50.97 kB / 1.031 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.595e-06/1.165, allocations: 0 / 1.031 GB, free: 6.527 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.238e-05/1.165, allocations: 4 kB / 1.031 GB, free: 6.523 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-05/1.165, allocations: 7.984 kB / 1.031 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.885e-06/1.165, allocations: 0 / 1.031 GB, free: 6.516 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005801/1.165, allocations: 458.7 kB / 1.031 GB, free: 6.145 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001021/1.166, allocations: 120.3 kB / 1.031 GB, free: 6.012 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.382e-05/1.166, allocations: 4 kB / 1.031 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002275/1.166, allocations: 35.97 kB / 1.031 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001349/1.166, allocations: 34.39 kB / 1.031 GB, free: 5.949 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.692e-05/1.166, allocations: 4 kB / 1.031 GB, free: 5.945 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002407/1.166, allocations: 233.6 kB / 1.032 GB, free: 5.77 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.5e-07/1.166, allocations: 4 kB / 1.032 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005348/1.167, allocations: 119.4 kB / 1.032 GB, free: 5.656 MB / 0.6511 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) * 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.0005203/1.167, allocations: 265.7 kB / 1.032 GB, free: 5.402 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0007653/1.168, allocations: 0.7515 MB / 1.033 GB, free: 4.723 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/1.168, allocations: 4 kB / 1.033 GB, free: 4.719 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0003305/1.168, allocations: 333.9 kB / 1.033 GB, free: 4.41 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003619/1.169, allocations: 63.94 kB / 1.033 GB, free: 4.359 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008285/1.17, allocations: 491.4 kB / 1.034 GB, free: 3.945 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004148/1.17, allocations: 0.7919 MB / 1.034 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 8.111e-05/1.17, allocations: 21.86 kB / 1.034 GB, free: 3.121 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.542e-05/1.17, allocations: 18.56 kB / 1.034 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of SimCode: time 3.71e-07/1.17, allocations: 0 / 1.034 GB, free: 3.109 MB / 0.6511 GB Notification: Performance of Templates: time 0.009725/1.18, allocations: 5.331 MB / 1.04 GB, free: 13.89 MB / 0.6667 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