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.00177/0.00177, allocations: 108.8 kB / 16.41 MB, free: 6.492 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.00205/0.00205, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.49/1.49, allocations: 222.9 MB / 241 MB, free: 15.15 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.351/2.351, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001445/0.001446, allocations: 67.91 kB / 0.9515 GB, free: 7.609 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8401/0.8416, allocations: 140.4 MB / 1.089 GB, free: 5.762 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003301/0.8449, allocations: 2.081 MB / 1.091 GB, free: 4.312 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00209/0.847, allocations: 1.179 MB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001173/0.8472, allocations: 3 kB / 1.092 GB, free: 3.508 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.8476, allocations: 116.7 kB / 1.092 GB, free: 3.449 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001074/0.8478, allocations: 49.58 kB / 1.092 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008613/0.8486, allocations: 253.5 kB / 1.092 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0004292/0.8491, allocations: 319.1 kB / 1.093 GB, free: 3.152 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002106/0.8493, allocations: 105.7 kB / 1.093 GB, free: 3.094 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001245/0.8494, allocations: 104 kB / 1.093 GB, free: 3.043 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001796/0.8496, allocations: 132.4 kB / 1.093 GB, free: 2.973 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.923e-05/0.8497, allocations: 34.12 kB / 1.093 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004432/0.8501, allocations: 224 kB / 1.093 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001263/0.8503, allocations: 94.44 kB / 1.093 GB, free: 2.875 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001496/0.8504, allocations: 149.5 kB / 1.093 GB, free: 2.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0007771/0.8512, allocations: 0.561 MB / 1.094 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.638e-06/0.8512, allocations: 0 / 1.094 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.793e-06/0.8512, allocations: 0.8438 kB / 1.094 GB, free: 2.566 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.8512, allocations: 0 / 1.094 GB, free: 2.566 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.001182/0.8524, allocations: 0.8051 MB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.8525, allocations: 9.062 kB / 1.095 GB, free: 1.848 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.789e-05/0.8526, allocations: 33.88 kB / 1.095 GB, free: 1.832 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004202/0.853, allocations: 324.3 kB / 1.095 GB, free: 1.547 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.317e-05/0.853, allocations: 12.34 kB / 1.095 GB, free: 1.543 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.003e-05/0.8531, allocations: 20.91 kB / 1.095 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006763/0.8538, allocations: 296.4 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.8538, allocations: 0.6875 kB / 1.095 GB, free: 1.426 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.462e-05/0.8538, allocations: 7.391 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.114e-06/0.8538, allocations: 4.188 kB / 1.095 GB, free: 1.422 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007236/0.8545, allocations: 269.1 kB / 1.096 GB, free: 1.355 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001063/0.8556, allocations: 0.6711 MB / 1.096 GB, free: 0.8984 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005989/0.8562, allocations: 230.2 kB / 1.096 GB, free: 0.8164 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004374/0.8567, allocations: 193.7 kB / 1.097 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.8567, allocations: 1.781 kB / 1.097 GB, free: 0.7578 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.257e-05/0.8567, allocations: 36.66 kB / 1.097 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.134e-06/0.8567, allocations: 4 kB / 1.097 GB, free: 0.7109 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001459/0.8582, allocations: 0.6658 MB / 1.097 GB, free: 444 kB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.393e-05/0.8583, allocations: 138.7 kB / 1.097 GB, free: 280 kB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004572/0.8587, allocations: 380.5 kB / 1.098 GB, free: 84 kB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.588e-05/0.8588, allocations: 28.7 kB / 1.098 GB, free: 52 kB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.000155/0.8589, allocations: 166.5 kB / 1.098 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 6.383e-05/0.859, allocations: 49.7 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.8591, allocations: 46.77 kB / 1.098 GB, free: 15.84 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001634/0.8593, allocations: 344.8 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005074/0.8598, allocations: 242.2 kB / 1.099 GB, free: 15.45 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004651/0.8603, allocations: 240.1 kB / 1.099 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001032/0.8613, allocations: 0.6868 MB / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.955e-06/0.8613, allocations: 0 / 1.1 GB, free: 14.96 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001242/0.8626, allocations: 0.7285 MB / 1.1 GB, free: 14.58 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001246/0.8627, allocations: 183.9 kB / 1.1 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.436e-06/0.8627, allocations: 5.109 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.8627, allocations: 1.094 kB / 1.1 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001858/0.8629, allocations: 30.86 kB / 1.101 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.834e-06/0.8629, allocations: 2 kB / 1.101 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002316/0.8632, allocations: 41.59 kB / 1.101 GB, free: 14.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.047e-05/0.8632, allocations: 10.83 kB / 1.101 GB, free: 14.36 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.0002543/0.8635, allocations: 266.6 kB / 1.101 GB, free: 14.12 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.624e-05/0.8636, allocations: 31.38 kB / 1.101 GB, free: 14.1 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.027e-05/0.8636, allocations: 31.94 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.521e-06/0.8636, allocations: 1.875 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.496e-06/0.8637, allocations: 1.188 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.8637, allocations: 0.6094 kB / 1.101 GB, free: 14.08 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004447/0.8641, allocations: 353.6 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.194e-06/0.8641, allocations: 1 kB / 1.101 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001666/0.8643, allocations: 32.05 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.464e-06/0.8643, allocations: 0 / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.448e-05/0.8643, allocations: 5.312 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.543e-06/0.8643, allocations: 4 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.8643, allocations: 1.156 kB / 1.101 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001037/0.8654, allocations: 0.6129 MB / 1.102 GB, free: 13.46 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001039/0.8655, allocations: 115.8 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.553e-05/0.8656, allocations: 4.531 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002279/0.8658, allocations: 30.16 kB / 1.102 GB, free: 13.34 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001273/0.8659, allocations: 24.27 kB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.194e-05/0.866, allocations: 5.781 kB / 1.102 GB, free: 13.33 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0004146/0.8664, allocations: 275.8 kB / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.8e-07/0.8664, allocations: 0 / 1.102 GB, free: 13.18 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.000611/0.867, allocations: 107.4 kB / 1.102 GB, free: 13.17 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.0003627/0.8674, allocations: 163.7 kB / 1.103 GB, free: 13.06 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001262/0.8686, allocations: 0.8369 MB / 1.103 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.8687, allocations: 1.281 kB / 1.103 GB, free: 12.53 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005299/0.8692, allocations: 379.5 kB / 1.104 GB, free: 12.28 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004765/0.8697, allocations: 77.56 kB / 1.104 GB, free: 12.25 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001166/0.8709, allocations: 0.6741 MB / 1.104 GB, free: 11.88 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004135/0.8713, allocations: 0.7882 MB / 1.105 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.8713, allocations: 18.12 kB / 1.105 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/0.8714, allocations: 1.219 kB / 1.105 GB, free: 11.15 MB / 0.8731 GB Notification: Performance of Templates: time 0.0098/0.8812, allocations: 4.965 MB / 1.11 GB, free: 10.66 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/jenkins1/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