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.007131/0.007131, allocations: 101.2 kB / 15.73 MB, free: 6.047 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.001672/0.001672, allocations: 194 kB / 16.67 MB, free: 5.977 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.355/1.355, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.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.285/2.285, allocations: 390.2 MB / 0.6648 GB, free: 256 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001313/0.001314, allocations: 75.91 kB / 0.9504 GB, free: 6.105 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2635/0.2648, allocations: 140.4 MB / 1.087 GB, free: 2.125 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003454/0.2683, allocations: 2.096 MB / 1.09 GB, free: 12 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001926/0.2703, allocations: 1.169 MB / 1.091 GB, free: 14.84 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001715/0.2705, allocations: 4 kB / 1.091 GB, free: 14.83 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004573/0.2709, allocations: 119.3 kB / 1.091 GB, free: 14.71 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001518/0.2711, allocations: 47.56 kB / 1.091 GB, free: 14.67 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007913/0.2719, allocations: 264.3 kB / 1.091 GB, free: 14.41 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003999/0.2724, allocations: 315.3 kB / 1.091 GB, free: 14.11 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000191/0.2726, allocations: 106.8 kB / 1.091 GB, free: 14 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001265/0.2727, allocations: 99.69 kB / 1.092 GB, free: 13.9 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001783/0.2729, allocations: 127.5 kB / 1.092 GB, free: 13.78 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.204e-05/0.2729, allocations: 32 kB / 1.092 GB, free: 13.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003655/0.2733, allocations: 231.7 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001121/0.2734, allocations: 91.73 kB / 1.092 GB, free: 13.43 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001428/0.2736, allocations: 151.2 kB / 1.092 GB, free: 13.28 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006171/0.2742, allocations: 0.5539 MB / 1.093 GB, free: 12.73 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.833e-06/0.2742, allocations: 3.984 kB / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.325e-06/0.2742, allocations: 0 / 1.093 GB, free: 12.72 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.206e-05/0.2743, allocations: 0 / 1.093 GB, free: 12.72 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.00119/0.2754, allocations: 0.8087 MB / 1.094 GB, free: 11.83 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.072e-05/0.2755, allocations: 8.031 kB / 1.094 GB, free: 11.82 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.571e-05/0.2756, allocations: 54.67 kB / 1.094 GB, free: 11.76 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.91e-05/0.2756, allocations: 36.47 kB / 1.094 GB, free: 11.72 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.2761, allocations: 320.4 kB / 1.094 GB, free: 11.37 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.107e-05/0.2761, allocations: 16.41 kB / 1.094 GB, free: 11.36 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.2761, allocations: 16 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005864/0.2767, allocations: 294.9 kB / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.866e-06/0.2767, allocations: 0 / 1.094 GB, free: 11.05 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.362e-05/0.2768, allocations: 8 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.841e-06/0.2768, allocations: 3.938 kB / 1.094 GB, free: 11.04 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006346/0.2774, allocations: 272.4 kB / 1.095 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009657/0.2784, allocations: 0.6718 MB / 1.095 GB, free: 10.05 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005211/0.2789, allocations: 234.6 kB / 1.095 GB, free: 9.809 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003786/0.2793, allocations: 188.7 kB / 1.096 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.427e-05/0.2793, allocations: 0 / 1.096 GB, free: 9.621 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.87e-05/0.2794, allocations: 34.67 kB / 1.096 GB, free: 9.578 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.303e-06/0.2794, allocations: 7.938 kB / 1.096 GB, free: 9.57 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001303/0.2807, allocations: 0.6621 MB / 1.096 GB, free: 8.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.842e-05/0.2808, allocations: 140.5 kB / 1.096 GB, free: 8.715 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003852/0.2812, allocations: 380.5 kB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.728e-05/0.2812, allocations: 29.69 kB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.2813, allocations: 164.3 kB / 1.097 GB, free: 8.137 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.702e-05/0.2814, allocations: 47.36 kB / 1.097 GB, free: 8.09 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.43e-05/0.2815, allocations: 41.7 kB / 1.097 GB, free: 8.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.2816, allocations: 342.8 kB / 1.097 GB, free: 7.699 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004399/0.2821, allocations: 243.8 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004154/0.2825, allocations: 241.3 kB / 1.098 GB, free: 7.227 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009005/0.2834, allocations: 0.6768 MB / 1.098 GB, free: 6.492 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.2834, allocations: 4 kB / 1.098 GB, free: 6.488 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001073/0.2845, allocations: 0.7355 MB / 1.099 GB, free: 5.711 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001139/0.2846, allocations: 186.2 kB / 1.099 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.2846, allocations: 0 / 1.099 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.2846, allocations: 0 / 1.099 GB, free: 5.492 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.2848, allocations: 31.97 kB / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.812e-06/0.2848, allocations: 0 / 1.099 GB, free: 5.461 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002256/0.2851, allocations: 47.69 kB / 1.099 GB, free: 5.414 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.84e-05/0.2851, allocations: 8 kB / 1.099 GB, free: 5.406 MB / 0.8575 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.0002263/0.2853, allocations: 262.8 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.551e-05/0.2854, allocations: 31.62 kB / 1.1 GB, free: 5.09 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.208e-05/0.2855, allocations: 30.94 kB / 1.1 GB, free: 5.059 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.148e-06/0.2855, allocations: 4 kB / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.2855, allocations: 0 / 1.1 GB, free: 5.055 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.718e-06/0.2855, allocations: 3.938 kB / 1.1 GB, free: 5.051 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003261/0.2858, allocations: 353.2 kB / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.694e-06/0.2858, allocations: 0 / 1.1 GB, free: 4.656 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.286, allocations: 31.97 kB / 1.1 GB, free: 4.625 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.863e-06/0.286, allocations: 4 kB / 1.1 GB, free: 4.621 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.328e-05/0.286, allocations: 8 kB / 1.1 GB, free: 4.613 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.924e-06/0.2861, allocations: 4 kB / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.2861, allocations: 0 / 1.1 GB, free: 4.609 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009032/0.287, allocations: 0.6201 MB / 1.101 GB, free: 3.957 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.394e-05/0.2871, allocations: 112.7 kB / 1.101 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.133e-05/0.2871, allocations: 8 kB / 1.101 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002134/0.2873, allocations: 31.95 kB / 1.101 GB, free: 3.789 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001103/0.2874, allocations: 23.97 kB / 1.101 GB, free: 3.766 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.837e-05/0.2875, allocations: 7.938 kB / 1.101 GB, free: 3.758 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.000264/0.2877, allocations: 275 kB / 1.101 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of sort global known variables: time 2.1e-07/0.2877, allocations: 0 / 1.101 GB, free: 3.488 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004273/0.2882, allocations: 107.9 kB / 1.101 GB, free: 3.383 MB / 0.8575 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.001432/0.2896, allocations: 1.213 MB / 1.102 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001123/0.2908, allocations: 0.836 MB / 1.103 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2908, allocations: 0 / 1.103 GB, free: 1.215 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004925/0.2913, allocations: 378 kB / 1.104 GB, free: 0.8086 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004588/0.2917, allocations: 74.67 kB / 1.104 GB, free: 0.7383 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005708/0.2975, allocations: 4.427 MB / 1.108 GB, free: 12.19 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003216/0.2978, allocations: 0.7753 MB / 1.109 GB, free: 11.39 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001202/0.2979, allocations: 29.94 kB / 1.109 GB, free: 11.36 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001195/0.2981, allocations: 87.41 kB / 1.109 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of SimCode: time 4.41e-07/0.2981, allocations: 0 / 1.109 GB, free: 11.27 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02744/0.3255, allocations: 8.88 MB / 1.118 GB, free: 2.617 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.402/8.727, allocations: 9.734 kB / 1.118 GB, free: 2.609 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