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.001454/0.001455, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001824/0.001824, allocations: 196.3 kB / 16.53 MB, free: 6.664 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.398 MB / 190.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.567/2.567, allocations: 437.1 MB / 0.7104 GB, free: 5.059 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 59.91 kB / 0.8694 GB, free: 4.535 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.534/0.5353, allocations: 151.6 MB / 1.017 GB, free: 2.457 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003439/0.5388, allocations: 2.095 MB / 1.019 GB, free: 352 kB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001797/0.5406, allocations: 1.173 MB / 1.021 GB, free: 15.16 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001566/0.5408, allocations: 4 kB / 1.021 GB, free: 15.15 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0004211/0.5412, allocations: 107.4 kB / 1.021 GB, free: 15.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001389/0.5414, allocations: 55.52 kB / 1.021 GB, free: 14.99 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007808/0.5422, allocations: 253.5 kB / 1.021 GB, free: 14.75 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0003914/0.5426, allocations: 339.2 kB / 1.021 GB, free: 14.42 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001878/0.5428, allocations: 87 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001446/0.5429, allocations: 107.7 kB / 1.022 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001698/0.5431, allocations: 131.4 kB / 1.022 GB, free: 14.09 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 6.025e-05/0.5432, allocations: 28 kB / 1.022 GB, free: 14.07 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003574/0.5435, allocations: 219.7 kB / 1.022 GB, free: 13.85 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 9.953e-05/0.5436, allocations: 95.72 kB / 1.022 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001403/0.5438, allocations: 155.2 kB / 1.022 GB, free: 13.61 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.000553/0.5443, allocations: 0.5453 MB / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.5444, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.773e-06/0.5444, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.5444, allocations: 0 / 1.023 GB, free: 13.06 MB / 0.7794 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.00115/0.5455, allocations: 0.7971 MB / 1.023 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.5456, allocations: 12.03 kB / 1.023 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.678e-05/0.5457, allocations: 50.73 kB / 1.023 GB, free: 12.11 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.965e-05/0.5457, allocations: 32.56 kB / 1.024 GB, free: 12.07 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.5461, allocations: 320.4 kB / 1.024 GB, free: 11.72 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/0.5462, allocations: 16.59 kB / 1.024 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.826e-05/0.5462, allocations: 20.38 kB / 1.024 GB, free: 11.69 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006181/0.5468, allocations: 291 kB / 1.024 GB, free: 11.4 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.927e-06/0.5469, allocations: 4 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.459e-05/0.5469, allocations: 11.98 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.5469, allocations: 4 kB / 1.024 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000654/0.5476, allocations: 268.4 kB / 1.024 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009592/0.5485, allocations: 0.6832 MB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005424/0.5491, allocations: 222.6 kB / 1.025 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000387/0.5495, allocations: 192.7 kB / 1.025 GB, free: 9.965 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 1.576e-05/0.5495, allocations: 7.938 kB / 1.025 GB, free: 9.957 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.388e-05/0.5495, allocations: 30.56 kB / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=14): time 1.553e-06/0.5495, allocations: 0 / 1.026 GB, free: 9.918 MB / 0.7794 GB Notification: Performance of matching and sorting (n=14): time 0.001331/0.5509, allocations: 0.6741 MB / 1.026 GB, free: 9.219 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.278e-05/0.551, allocations: 140.5 kB / 1.026 GB, free: 9.051 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003744/0.5513, allocations: 376.4 kB / 1.027 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/0.5514, allocations: 29.7 kB / 1.027 GB, free: 8.637 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001078/0.5515, allocations: 168.3 kB / 1.027 GB, free: 8.469 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 4.5e-05/0.5515, allocations: 51.28 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.621e-05/0.5516, allocations: 49.7 kB / 1.027 GB, free: 8.363 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001293/0.5518, allocations: 346.8 kB / 1.027 GB, free: 8.016 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004446/0.5522, allocations: 243.7 kB / 1.028 GB, free: 7.77 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004287/0.5526, allocations: 237.6 kB / 1.028 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009117/0.5536, allocations: 0.6845 MB / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.5536, allocations: 0 / 1.028 GB, free: 6.797 MB / 0.7794 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001059/0.5546, allocations: 0.724 MB / 1.029 GB, free: 6.031 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 9.56e-05/0.5547, allocations: 186.1 kB / 1.029 GB, free: 5.812 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.133e-06/0.5548, allocations: 3.984 kB / 1.029 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.253e-05/0.5548, allocations: 4 kB / 1.029 GB, free: 5.805 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001678/0.555, allocations: 35.91 kB / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.36e-06/0.555, allocations: 0 / 1.029 GB, free: 5.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002175/0.5552, allocations: 43.72 kB / 1.029 GB, free: 5.727 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.5552, allocations: 8 kB / 1.029 GB, free: 5.719 MB / 0.7794 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.0002008/0.5554, allocations: 264.4 kB / 1.03 GB, free: 5.434 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.165e-05/0.5555, allocations: 31.62 kB / 1.03 GB, free: 5.402 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.5555, allocations: 26.94 kB / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.144e-06/0.5556, allocations: 0 / 1.03 GB, free: 5.379 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/0.5556, allocations: 4 kB / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.695e-06/0.5556, allocations: 0 / 1.03 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003612/0.5559, allocations: 349.3 kB / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5559, allocations: 0 / 1.03 GB, free: 4.984 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001665/0.5561, allocations: 35.97 kB / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.774e-06/0.5561, allocations: 0 / 1.03 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.103e-05/0.5562, allocations: 4 kB / 1.03 GB, free: 4.945 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.809e-06/0.5562, allocations: 7.938 kB / 1.03 GB, free: 4.938 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.5562, allocations: 3.938 kB / 1.03 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009611/0.5571, allocations: 0.6211 MB / 1.031 GB, free: 4.277 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.111e-05/0.5572, allocations: 108.7 kB / 1.031 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.433e-05/0.5573, allocations: 4 kB / 1.031 GB, free: 4.148 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002261/0.5575, allocations: 31.97 kB / 1.031 GB, free: 4.117 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000103/0.5576, allocations: 23.97 kB / 1.031 GB, free: 4.094 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.5576, allocations: 4 kB / 1.031 GB, free: 4.09 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0002599/0.5579, allocations: 283 kB / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.3e-07/0.5579, allocations: 0 / 1.031 GB, free: 3.812 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003939/0.5583, allocations: 103.8 kB / 1.031 GB, free: 3.711 MB / 0.7794 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.001374/0.5597, allocations: 1.217 MB / 1.032 GB, free: 2.445 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.001114/0.5608, allocations: 0.8475 MB / 1.033 GB, free: 1.527 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5608, allocations: 4 kB / 1.033 GB, free: 1.523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0004803/0.5613, allocations: 370.1 kB / 1.034 GB, free: 1.125 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004278/0.5618, allocations: 77.33 kB / 1.034 GB, free: 1.051 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005611/0.5674, allocations: 4.42 MB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003321/0.5677, allocations: 0.7831 MB / 1.039 GB, free: 11.71 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 8.967e-05/0.5678, allocations: 21.95 kB / 1.039 GB, free: 11.68 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001219/0.5679, allocations: 91.41 kB / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of SimCode: time 4.31e-07/0.568, allocations: 0 / 1.039 GB, free: 11.59 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02625/0.5942, allocations: 8.661 MB / 1.047 GB, free: 3.141 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.264/7.858, allocations: 10.73 kB / 1.047 GB, free: 3.137 MB / 0.795 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