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.396/2.396, allocations: 387.4 MB / 394.9 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.001287/0.001287, allocations: 184.5 kB / 487.4 MB, free: 5.082 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.634/1.634, allocations: 221.5 MB / 0.7824 GB, free: 0.9648 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 109.2 kB / 0.9219 GB, free: 2.199 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.536e-05/2.539e-05, allocations: 8 kB / 1.067 GB, free: 185.7 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3145/0.3146, allocations: 142.4 MB / 1.206 GB, free: 43.98 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.118/1.432, allocations: 152.9 MB / 1.355 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003535/1.433, allocations: 94.91 kB / 1.355 GB, free: 18.37 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02015/1.453, allocations: 6.871 MB / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.994e-06/1.453, allocations: 0 / 1.362 GB, free: 33.66 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.002e-05/1.453, allocations: 3.906 kB / 1.362 GB, free: 33.66 MB / 0.8386 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.0009507/1.454, allocations: 0.7424 MB / 1.363 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.834e-05/1.454, allocations: 11.66 kB / 1.363 GB, free: 33.01 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.931e-05/1.454, allocations: 31.16 kB / 1.363 GB, free: 33 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000381/1.455, allocations: 308.8 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.85e-05/1.455, allocations: 11.66 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.136e-05/1.455, allocations: 11.72 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003009/1.455, allocations: 190 kB / 1.363 GB, free: 32.76 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003268/1.455, allocations: 231.8 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.061e-05/1.455, allocations: 0 / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.35e-05/1.455, allocations: 3.844 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/1.455, allocations: 3.812 kB / 1.364 GB, free: 32.73 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00109/1.457, allocations: 0.6828 MB / 1.364 GB, free: 32.45 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003424/1.457, allocations: 194.9 kB / 1.364 GB, free: 32.42 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001585/1.457, allocations: 156.4 kB / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/1.457, allocations: 0 / 1.365 GB, free: 32.41 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.058e-05/1.457, allocations: 30.56 kB / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=14): time 1.803e-06/1.457, allocations: 112 / 1.365 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of matching and sorting (n=14): time 0.0005479/1.458, allocations: 343.8 kB / 1.365 GB, free: 32.32 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.899e-05/1.458, allocations: 139.9 kB / 1.365 GB, free: 32.16 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003059/1.458, allocations: 300.1 kB / 1.365 GB, free: 32.06 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/1.458, allocations: 29.52 kB / 1.365 GB, free: 32.03 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001268/1.458, allocations: 168.4 kB / 1.366 GB, free: 31.93 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.838e-05/1.458, allocations: 44.56 kB / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.465e-05/1.458, allocations: 0 / 1.366 GB, free: 31.9 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.00016/1.458, allocations: 340.3 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002109/1.459, allocations: 195.5 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001943/1.459, allocations: 187.5 kB / 1.366 GB, free: 31.58 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002784/1.459, allocations: 200.4 kB / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.886e-06/1.459, allocations: 0 / 1.366 GB, free: 31.57 MB / 0.8386 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0005772/1.46, allocations: 478.9 kB / 1.367 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 7.931e-05/1.46, allocations: 186.7 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.562e-06/1.46, allocations: 0 / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.644e-05/1.46, allocations: 3.844 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001698/1.46, allocations: 38.41 kB / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/1.46, allocations: 0 / 1.367 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002013/1.46, allocations: 51.03 kB / 1.367 GB, free: 31.32 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.56e-05/1.46, allocations: 10.94 kB / 1.367 GB, free: 31.32 MB / 0.8386 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.0001325/1.46, allocations: 213 kB / 1.367 GB, free: 31.11 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.946e-05/1.46, allocations: 33.94 kB / 1.367 GB, free: 31.09 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.655e-05/1.461, allocations: 23.33 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.054e-06/1.461, allocations: 0 / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/1.461, allocations: 3.844 kB / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.407e-06/1.461, allocations: 0 / 1.367 GB, free: 31.08 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000263/1.461, allocations: 316.3 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/1.461, allocations: 3.094 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001583/1.461, allocations: 36.5 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/1.461, allocations: 3.906 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.135e-05/1.461, allocations: 6.672 kB / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/1.461, allocations: 0 / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.634e-06/1.461, allocations: 0 / 1.368 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004877/1.462, allocations: 457.7 kB / 1.368 GB, free: 30.77 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 5.657e-05/1.462, allocations: 106 kB / 1.368 GB, free: 30.66 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.279e-05/1.462, allocations: 15.81 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002128/1.462, allocations: 35.98 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00011/1.462, allocations: 23.31 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.567e-05/1.462, allocations: 10.38 kB / 1.368 GB, free: 30.64 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002146/1.462, allocations: 237 kB / 1.369 GB, free: 30.57 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.31e-07/1.462, allocations: 4 kB / 1.369 GB, free: 30.56 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004907/1.463, allocations: 125.6 kB / 1.369 GB, free: 30.54 MB / 0.8386 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.0004261/1.463, allocations: 274.8 kB / 1.369 GB, free: 30.41 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006448/1.464, allocations: 0.7504 MB / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/1.464, allocations: 3.938 kB / 1.37 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002364/1.464, allocations: 333.1 kB / 1.37 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003412/1.464, allocations: 58.33 kB / 1.37 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006963/1.465, allocations: 491.3 kB / 1.371 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003484/1.466, allocations: 0.7989 MB / 1.371 GB, free: 28.99 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 7.484e-05/1.466, allocations: 20.44 kB / 1.371 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.995e-05/1.466, allocations: 15.12 kB / 1.371 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of SimCode: time 2.3e-07/1.466, allocations: 0 / 1.371 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.009261/1.475, allocations: 5.33 MB / 1.377 GB, free: 28.53 MB / 0.8386 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