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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.005398/0.005398, allocations: 103.5 kB / 15.74 MB, free: 6.035 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.00113/0.00113, allocations: 194.7 kB / 16.68 MB, free: 5.953 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.244/1.244, allocations: 222.9 MB / 240.4 MB, free: 15.09 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.077/2.077, allocations: 390.3 MB / 0.6648 GB, free: 0.5859 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001161/0.001161, allocations: 63.89 kB / 0.9504 GB, free: 8.094 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6833/0.6844, allocations: 140.4 MB / 1.087 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002765/0.6872, allocations: 2.108 MB / 1.09 GB, free: 3.785 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.00153/0.6888, allocations: 1.173 MB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.464e-05/0.6889, allocations: 2.938 kB / 1.091 GB, free: 2.988 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003646/0.6893, allocations: 117.3 kB / 1.091 GB, free: 2.93 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 9.27e-05/0.6894, allocations: 44.86 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006802/0.6901, allocations: 255.9 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003119/0.6904, allocations: 319.8 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.6906, allocations: 108 kB / 1.091 GB, free: 2.574 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.92e-05/0.6907, allocations: 107.3 kB / 1.092 GB, free: 2.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001512/0.6908, allocations: 128 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.655e-05/0.6909, allocations: 30.41 kB / 1.092 GB, free: 2.453 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003486/0.6912, allocations: 228.2 kB / 1.092 GB, free: 2.398 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.826e-05/0.6913, allocations: 85.5 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001195/0.6915, allocations: 150.1 kB / 1.092 GB, free: 2.262 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006169/0.6921, allocations: 0.5611 MB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.6921, allocations: 0 / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.082e-06/0.6921, allocations: 1.062 kB / 1.093 GB, free: 2.055 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.743e-06/0.6921, allocations: 8.547 kB / 1.093 GB, free: 2.047 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.0009798/0.6931, allocations: 0.808 MB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.176e-05/0.6932, allocations: 9.812 kB / 1.094 GB, free: 1.324 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.034e-05/0.6932, allocations: 48.28 kB / 1.094 GB, free: 1.277 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.906e-05/0.6933, allocations: 38.09 kB / 1.094 GB, free: 1.258 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003232/0.6936, allocations: 320 kB / 1.094 GB, free: 0.9766 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.02e-05/0.6936, allocations: 20.72 kB / 1.094 GB, free: 0.9648 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.719e-05/0.6937, allocations: 16.84 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006028/0.6943, allocations: 288.8 kB / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.418e-06/0.6943, allocations: 0 / 1.094 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.322e-05/0.6943, allocations: 8 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.794e-06/0.6944, allocations: 3.406 kB / 1.094 GB, free: 0.8555 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006777/0.695, allocations: 281 kB / 1.095 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009451/0.696, allocations: 0.6599 MB / 1.095 GB, free: 340 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000556/0.6966, allocations: 234.2 kB / 1.095 GB, free: 252 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004139/0.697, allocations: 193.4 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.697, allocations: 1.094 kB / 1.096 GB, free: 192 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.419e-05/0.697, allocations: 32.75 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.493e-06/0.697, allocations: 0.5938 kB / 1.096 GB, free: 152 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001442/0.6985, allocations: 0.6749 MB / 1.096 GB, free: 15.86 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.995e-05/0.6986, allocations: 140 kB / 1.096 GB, free: 15.7 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004338/0.699, allocations: 376.2 kB / 1.097 GB, free: 15.51 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 2.883e-05/0.699, allocations: 28.42 kB / 1.097 GB, free: 15.48 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001155/0.6992, allocations: 166.2 kB / 1.097 GB, free: 15.34 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.832e-05/0.6992, allocations: 49 kB / 1.097 GB, free: 15.3 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.436e-05/0.6993, allocations: 50.83 kB / 1.097 GB, free: 15.27 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.6995, allocations: 345.3 kB / 1.097 GB, free: 14.94 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004796/0.6999, allocations: 238 kB / 1.098 GB, free: 14.88 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004463/0.7004, allocations: 234.9 kB / 1.098 GB, free: 14.82 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009746/0.7014, allocations: 0.6782 MB / 1.098 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.003e-06/0.7014, allocations: 1.156 kB / 1.098 GB, free: 14.4 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001156/0.7026, allocations: 0.7379 MB / 1.099 GB, free: 14.02 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001081/0.7027, allocations: 183.2 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.274e-06/0.7027, allocations: 1.172 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.432e-05/0.7027, allocations: 5.781 kB / 1.099 GB, free: 13.82 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001731/0.7029, allocations: 31.23 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.222e-06/0.7029, allocations: 0.5312 kB / 1.099 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002348/0.7031, allocations: 41.86 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.908e-05/0.7032, allocations: 16.05 kB / 1.099 GB, free: 13.79 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.0002278/0.7034, allocations: 254.1 kB / 1.1 GB, free: 13.56 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.287e-05/0.7035, allocations: 30.75 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.415e-05/0.7035, allocations: 28.66 kB / 1.1 GB, free: 13.53 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.046e-06/0.7035, allocations: 5.031 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.7036, allocations: 0.9375 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.122e-06/0.7036, allocations: 4.547 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003953/0.704, allocations: 350.9 kB / 1.1 GB, free: 13.26 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.704, allocations: 7.984 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000164/0.7042, allocations: 27.83 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.935e-06/0.7042, allocations: 1.625 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.415e-05/0.7042, allocations: 8.344 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.114e-06/0.7042, allocations: 1.125 kB / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.012e-06/0.7042, allocations: 0 / 1.1 GB, free: 13.25 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000999/0.7052, allocations: 0.6123 MB / 1.101 GB, free: 12.9 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.124e-05/0.7053, allocations: 112.5 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.547e-05/0.7054, allocations: 5.047 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002264/0.7056, allocations: 29.3 kB / 1.101 GB, free: 12.78 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001079/0.7057, allocations: 29.31 kB / 1.101 GB, free: 12.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.941e-05/0.7057, allocations: 16.81 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0002949/0.706, allocations: 271.5 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.706, allocations: 1.094 kB / 1.101 GB, free: 12.61 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005158/0.7066, allocations: 110.9 kB / 1.101 GB, free: 12.59 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.001547/0.7081, allocations: 1.213 MB / 1.102 GB, free: 11.71 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001149/0.7093, allocations: 0.8421 MB / 1.103 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 5.049e-06/0.7093, allocations: 5.312 kB / 1.103 GB, free: 11.17 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.0005083/0.7098, allocations: 374.8 kB / 1.104 GB, free: 10.92 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004246/0.7102, allocations: 77.38 kB / 1.104 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005997/0.7162, allocations: 4.416 MB / 1.108 GB, free: 8.488 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004008/0.7167, allocations: 0.7864 MB / 1.109 GB, free: 7.773 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001056/0.7168, allocations: 24.55 kB / 1.109 GB, free: 7.77 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001294/0.7169, allocations: 91 kB / 1.109 GB, free: 7.699 MB / 0.8731 GB Notification: Performance of SimCode: time 3.31e-07/0.7169, allocations: 4 kB / 1.109 GB, free: 7.695 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1745/0.8914, allocations: 8.714 MB / 1.117 GB, free: 6.898 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.184/9.076, allocations: 8.609 kB / 1.117 GB, free: 6.895 MB / 0.8731 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > 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