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/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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006521/0.006521, allocations: 106.5 kB / 15.74 MB, free: 5.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001468/0.001468, allocations: 189.9 kB / 16.67 MB, free: 5.516 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.357/1.357, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.281/2.281, allocations: 390.2 MB / 0.6648 GB, free: 0.6445 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.00127/0.00127, allocations: 67.89 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7452/0.7465, allocations: 140.4 MB / 1.088 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003009/0.7496, allocations: 2.087 MB / 1.09 GB, free: 4.059 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001685/0.7513, allocations: 1.173 MB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001068/0.7514, allocations: 4.031 kB / 1.091 GB, free: 3.262 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004024/0.7518, allocations: 120 kB / 1.091 GB, free: 3.199 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.966e-05/0.7519, allocations: 46.75 kB / 1.091 GB, free: 3.168 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007001/0.7526, allocations: 259.8 kB / 1.092 GB, free: 3.055 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003531/0.753, allocations: 319.3 kB / 1.092 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001843/0.7532, allocations: 99.62 kB / 1.092 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001257/0.7533, allocations: 108.2 kB / 1.092 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001728/0.7535, allocations: 132.2 kB / 1.092 GB, free: 2.727 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.735e-05/0.7535, allocations: 33.84 kB / 1.092 GB, free: 2.723 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003759/0.7539, allocations: 228 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001132/0.754, allocations: 86.41 kB / 1.093 GB, free: 2.633 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001392/0.7542, allocations: 157.4 kB / 1.093 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006807/0.7549, allocations: 0.5552 MB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.7549, allocations: 0.7969 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.154e-06/0.7549, allocations: 0.7188 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.7549, allocations: 0 / 1.093 GB, free: 2.324 MB / 0.8575 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.001071/0.756, allocations: 0.808 MB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.819e-05/0.756, allocations: 9.75 kB / 1.094 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.751e-05/0.7561, allocations: 33.58 kB / 1.094 GB, free: 1.586 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000336/0.7565, allocations: 324.2 kB / 1.094 GB, free: 1.301 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.24e-05/0.7565, allocations: 12.94 kB / 1.094 GB, free: 1.297 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.969e-05/0.7565, allocations: 20.22 kB / 1.094 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006596/0.7572, allocations: 297.1 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.247e-05/0.7572, allocations: 0.7188 kB / 1.095 GB, free: 1.18 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.6e-05/0.7572, allocations: 6.625 kB / 1.095 GB, free: 1.176 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.355e-06/0.7573, allocations: 7.422 kB / 1.095 GB, free: 1.172 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007536/0.758, allocations: 269.9 kB / 1.095 GB, free: 1.105 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001092/0.7591, allocations: 0.6674 MB / 1.096 GB, free: 0.6523 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006278/0.7598, allocations: 234.2 kB / 1.096 GB, free: 0.5664 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004299/0.7602, allocations: 190.4 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.7602, allocations: 1.062 kB / 1.096 GB, free: 0.5117 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.871e-05/0.7603, allocations: 36.61 kB / 1.096 GB, free: 480 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.393e-06/0.7603, allocations: 4 kB / 1.096 GB, free: 476 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001444/0.7617, allocations: 0.6669 MB / 1.097 GB, free: 188 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.859e-05/0.7618, allocations: 138.9 kB / 1.097 GB, free: 24 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004814/0.7623, allocations: 376.7 kB / 1.097 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.869e-05/0.7623, allocations: 33.11 kB / 1.097 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001169/0.7624, allocations: 166.2 kB / 1.097 GB, free: 15.66 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.959e-05/0.7625, allocations: 49.16 kB / 1.097 GB, free: 15.62 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.386e-05/0.7626, allocations: 47.64 kB / 1.097 GB, free: 15.59 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001461/0.7627, allocations: 344.6 kB / 1.098 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004837/0.7632, allocations: 237.5 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004977/0.7637, allocations: 243.4 kB / 1.098 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001114/0.7649, allocations: 0.6843 MB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.796e-06/0.7649, allocations: 0.75 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001259/0.7661, allocations: 0.7263 MB / 1.1 GB, free: 14.34 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001108/0.7663, allocations: 180.9 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.7663, allocations: 0 / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.7663, allocations: 5.094 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001825/0.7665, allocations: 31.73 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.197e-06/0.7665, allocations: 1.547 kB / 1.1 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002309/0.7667, allocations: 45.66 kB / 1.1 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.347e-05/0.7668, allocations: 11.33 kB / 1.1 GB, free: 14.12 MB / 0.8731 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.airFlo_mod.i,mod.watFlo_mod.i,mod.temDif_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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002318/0.767, allocations: 257.8 kB / 1.1 GB, free: 13.88 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.362e-05/0.7671, allocations: 35.31 kB / 1.1 GB, free: 13.86 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.336e-05/0.7672, allocations: 33.02 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.356e-06/0.7672, allocations: 1.516 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.7672, allocations: 0 / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.7672, allocations: 1.578 kB / 1.1 GB, free: 13.84 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004202/0.7676, allocations: 353.3 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.7676, allocations: 1.062 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001678/0.7678, allocations: 28.12 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.705e-06/0.7678, allocations: 0.8438 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.341e-05/0.7678, allocations: 7.859 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.814e-06/0.7678, allocations: 0.6875 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.7679, allocations: 1.109 kB / 1.101 GB, free: 13.57 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001063/0.7689, allocations: 0.6199 MB / 1.101 GB, free: 13.21 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.534e-05/0.769, allocations: 108.7 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.257e-05/0.7691, allocations: 8.438 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002262/0.7693, allocations: 25.77 kB / 1.101 GB, free: 13.1 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001107/0.7694, allocations: 25.23 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.284e-05/0.7695, allocations: 9.188 kB / 1.101 GB, free: 13.09 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003761/0.7698, allocations: 275.5 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.3e-07/0.7699, allocations: 0.5 kB / 1.102 GB, free: 12.94 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005748/0.7704, allocations: 115.6 kB / 1.102 GB, free: 12.92 MB / 0.8731 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 (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.0003281/0.7708, allocations: 158.4 kB / 1.102 GB, free: 12.82 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001263/0.772, allocations: 0.8339 MB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.489e-06/0.7721, allocations: 4 kB / 1.103 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005194/0.7726, allocations: 378.8 kB / 1.103 GB, free: 12.04 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004603/0.7731, allocations: 84.25 kB / 1.103 GB, free: 12 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001108/0.7742, allocations: 0.6378 MB / 1.104 GB, free: 11.66 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003978/0.7746, allocations: 0.7831 MB / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001036/0.7747, allocations: 20.05 kB / 1.105 GB, free: 10.95 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.511e-05/0.7748, allocations: 22.75 kB / 1.105 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of SimCode: time 2.4e-07/0.7748, allocations: 0 / 1.105 GB, free: 10.94 MB / 0.8731 GB Notification: Performance of Templates: time 0.01356/0.7883, allocations: 5.975 MB / 1.11 GB, free: 10.53 MB / 0.8731 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches