Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_10_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.006072/0.006072, allocations: 99.83 kB / 15.73 MB, free: 6.02 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.001466/0.001466, allocations: 193.6 kB / 16.67 MB, free: 5.934 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.303/1.303, allocations: 222.9 MB / 240.4 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.284/2.284, allocations: 437 MB / 0.7105 GB, free: 4.387 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001166/0.001166, allocations: 67.89 kB / 1.018 GB, free: 9.895 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6885/0.6897, allocations: 151.6 MB / 1.166 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002981/0.6927, allocations: 2.107 MB / 1.168 GB, free: 1.668 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001701/0.6944, allocations: 1.173 MB / 1.169 GB, free: 496 kB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.997e-05/0.6946, allocations: 4 kB / 1.169 GB, free: 492 kB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003727/0.6949, allocations: 107.4 kB / 1.169 GB, free: 384 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.786e-05/0.6951, allocations: 51.58 kB / 1.17 GB, free: 332 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006747/0.6957, allocations: 257.2 kB / 1.17 GB, free: 76 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0003414/0.6961, allocations: 335.2 kB / 1.17 GB, free: 15.75 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.6963, allocations: 87.06 kB / 1.17 GB, free: 15.66 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.792e-05/0.6964, allocations: 103.7 kB / 1.17 GB, free: 15.56 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001516/0.6965, allocations: 127.5 kB / 1.17 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4e-05/0.6966, allocations: 28 kB / 1.17 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003142/0.6969, allocations: 227.7 kB / 1.171 GB, free: 15.18 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.85e-05/0.697, allocations: 99.67 kB / 1.171 GB, free: 15.09 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001234/0.6971, allocations: 151.2 kB / 1.171 GB, free: 14.94 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005317/0.6977, allocations: 0.5563 MB / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.6977, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.403e-06/0.6977, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.221e-06/0.6977, allocations: 0 / 1.171 GB, free: 14.38 MB / 0.9044 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.001015/0.6987, allocations: 0.8222 MB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.6988, allocations: 8.625 kB / 1.172 GB, free: 13.47 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.594e-05/0.6988, allocations: 50.73 kB / 1.172 GB, free: 13.41 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.776e-05/0.6989, allocations: 36.7 kB / 1.172 GB, free: 13.38 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003564/0.6993, allocations: 324.6 kB / 1.173 GB, free: 13.02 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.751e-05/0.6993, allocations: 12.66 kB / 1.173 GB, free: 13.01 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.913e-05/0.6993, allocations: 24.31 kB / 1.173 GB, free: 12.98 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005557/0.6999, allocations: 296.6 kB / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.6999, allocations: 0 / 1.173 GB, free: 12.69 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.414e-05/0.6999, allocations: 11.98 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.072e-06/0.7, allocations: 4 kB / 1.173 GB, free: 12.68 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000598/0.7006, allocations: 268.3 kB / 1.173 GB, free: 12.41 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008429/0.7014, allocations: 0.672 MB / 1.174 GB, free: 11.69 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004906/0.7019, allocations: 230.6 kB / 1.174 GB, free: 11.46 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003568/0.7023, allocations: 188.7 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.672e-05/0.7023, allocations: 4 kB / 1.174 GB, free: 11.27 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.123e-05/0.7023, allocations: 34.56 kB / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.483e-06/0.7023, allocations: 0 / 1.174 GB, free: 11.22 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.001235/0.7036, allocations: 0.6742 MB / 1.175 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.351e-05/0.7037, allocations: 140.5 kB / 1.175 GB, free: 10.36 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003389/0.704, allocations: 384.5 kB / 1.175 GB, free: 9.973 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.779e-05/0.704, allocations: 33.7 kB / 1.176 GB, free: 9.934 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 9.296e-05/0.7041, allocations: 164.4 kB / 1.176 GB, free: 9.77 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.118e-05/0.7042, allocations: 47.58 kB / 1.176 GB, free: 9.723 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.681e-05/0.7043, allocations: 45.7 kB / 1.176 GB, free: 9.672 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001062/0.7044, allocations: 350.7 kB / 1.176 GB, free: 9.32 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004086/0.7048, allocations: 235.9 kB / 1.176 GB, free: 9.09 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003892/0.7052, allocations: 245.3 kB / 1.177 GB, free: 8.852 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000844/0.706, allocations: 0.6783 MB / 1.177 GB, free: 8.117 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.706, allocations: 4 kB / 1.177 GB, free: 8.113 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009646/0.707, allocations: 0.722 MB / 1.178 GB, free: 7.348 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.486e-05/0.7071, allocations: 182.2 kB / 1.178 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.7071, allocations: 0 / 1.178 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.282e-05/0.7071, allocations: 0 / 1.178 GB, free: 7.133 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001568/0.7073, allocations: 31.97 kB / 1.178 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.431e-06/0.7073, allocations: 0 / 1.178 GB, free: 7.102 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001913/0.7075, allocations: 51.8 kB / 1.178 GB, free: 7.051 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.291e-05/0.7075, allocations: 8 kB / 1.178 GB, free: 7.043 MB / 0.9044 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.0001882/0.7077, allocations: 262.8 kB / 1.178 GB, free: 6.758 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.7078, allocations: 27.81 kB / 1.178 GB, free: 6.73 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.397e-05/0.7079, allocations: 38.94 kB / 1.178 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.7079, allocations: 0 / 1.178 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.398e-06/0.7079, allocations: 0 / 1.178 GB, free: 6.688 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.7079, allocations: 3.984 kB / 1.178 GB, free: 6.684 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002928/0.7082, allocations: 353.2 kB / 1.179 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.7082, allocations: 0 / 1.179 GB, free: 6.289 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.7083, allocations: 27.97 kB / 1.179 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.7084, allocations: 0 / 1.179 GB, free: 6.262 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.038e-05/0.7084, allocations: 11.92 kB / 1.179 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.7084, allocations: 0 / 1.179 GB, free: 6.25 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.465e-06/0.7084, allocations: 4 kB / 1.179 GB, free: 6.246 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008686/0.7093, allocations: 0.629 MB / 1.179 GB, free: 5.582 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.907e-05/0.7093, allocations: 108.9 kB / 1.18 GB, free: 5.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.146e-05/0.7094, allocations: 12 kB / 1.18 GB, free: 5.445 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002017/0.7096, allocations: 23.97 kB / 1.18 GB, free: 5.422 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.851e-05/0.7097, allocations: 27.97 kB / 1.18 GB, free: 5.395 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.559e-05/0.7097, allocations: 4 kB / 1.18 GB, free: 5.391 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002473/0.71, allocations: 275 kB / 1.18 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.71, allocations: 0 / 1.18 GB, free: 5.121 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003685/0.7104, allocations: 103.9 kB / 1.18 GB, free: 5.02 MB / 0.9044 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.001264/0.7116, allocations: 1.222 MB / 1.181 GB, free: 3.754 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001022/0.7127, allocations: 0.8401 MB / 1.182 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.003e-06/0.7127, allocations: 0 / 1.182 GB, free: 2.84 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0004493/0.7131, allocations: 382 kB / 1.182 GB, free: 2.43 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004165/0.7136, allocations: 81.31 kB / 1.182 GB, free: 2.348 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005002/0.7186, allocations: 4.428 MB / 1.187 GB, free: 13.8 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002899/0.7189, allocations: 0.7792 MB / 1.188 GB, free: 13 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.307e-05/0.719, allocations: 25.95 kB / 1.188 GB, free: 12.97 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001131/0.7191, allocations: 87.41 kB / 1.188 GB, free: 12.89 MB / 0.92 GB Notification: Performance of SimCode: time 6.71e-07/0.7191, allocations: 0 / 1.188 GB, free: 12.89 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02556/0.7447, allocations: 8.731 MB / 1.196 GB, free: 4.383 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.652/8.397, allocations: 2.328 kB / 1.196 GB, free: 4.383 MB / 0.92 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_10_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches