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.001347/0.001347, allocations: 108 kB / 15.6 MB, free: 132 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.001403/0.001403, allocations: 198.7 kB / 16.54 MB, free: 6.672 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.374/1.374, allocations: 222.9 MB / 240.2 MB, free: 4.391 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.414/2.414, allocations: 390.3 MB / 0.6647 GB, free: 436 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001333/0.001333, allocations: 59.91 kB / 0.8127 GB, free: 14.33 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5391/0.5405, allocations: 140.4 MB / 0.9497 GB, free: 9.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002754/0.5433, allocations: 2.091 MB / 0.9518 GB, free: 7.496 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.001401/0.5447, allocations: 1.172 MB / 0.9529 GB, free: 6.578 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.919e-05/0.5448, allocations: 7.25 kB / 0.9529 GB, free: 6.574 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0003318/0.5451, allocations: 113.6 kB / 0.953 GB, free: 6.496 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 8.659e-05/0.5452, allocations: 50.14 kB / 0.9531 GB, free: 6.453 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.000568/0.5458, allocations: 261.7 kB / 0.9533 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002592/0.5461, allocations: 311.9 kB / 0.9536 GB, free: 6.102 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001547/0.5462, allocations: 102.7 kB / 0.9537 GB, free: 6.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.268e-05/0.5463, allocations: 105.2 kB / 0.9538 GB, free: 5.973 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001223/0.5465, allocations: 139.1 kB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.523e-05/0.5465, allocations: 29.72 kB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000283/0.5468, allocations: 220.7 kB / 0.9542 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.05e-05/0.5469, allocations: 92.14 kB / 0.9543 GB, free: 5.707 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0001062/0.547, allocations: 152.7 kB / 0.9544 GB, free: 5.59 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004215/0.5474, allocations: 0.5421 MB / 0.955 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.5474, allocations: 0 / 0.955 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.172e-06/0.5475, allocations: 0 / 0.955 GB, free: 5.195 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.671e-06/0.5475, allocations: 0 / 0.955 GB, free: 5.195 MB / 0.7169 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.000899/0.5484, allocations: 0.8047 MB / 0.9557 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.467e-05/0.5484, allocations: 9.844 kB / 0.9558 GB, free: 4.43 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.098e-05/0.5485, allocations: 52.83 kB / 0.9558 GB, free: 4.375 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.972e-05/0.5485, allocations: 34.25 kB / 0.9558 GB, free: 4.359 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002696/0.5488, allocations: 335.8 kB / 0.9562 GB, free: 4.047 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.508e-05/0.5488, allocations: 9.812 kB / 0.9562 GB, free: 4.043 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.123e-05/0.5489, allocations: 24.59 kB / 0.9562 GB, free: 4.031 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005211/0.5494, allocations: 289.1 kB / 0.9565 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.5494, allocations: 0 / 0.9565 GB, free: 3.879 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.096e-05/0.5494, allocations: 8 kB / 0.9565 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.5494, allocations: 2.656 kB / 0.9565 GB, free: 3.875 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006193/0.5501, allocations: 269.8 kB / 0.9567 GB, free: 3.758 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007551/0.5508, allocations: 0.675 MB / 0.9574 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004967/0.5513, allocations: 224.7 kB / 0.9576 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003693/0.5517, allocations: 197.2 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.509e-05/0.5517, allocations: 1.062 kB / 0.9578 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.405e-05/0.5518, allocations: 39.62 kB / 0.9578 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5518, allocations: 1.062 kB / 0.9578 GB, free: 2.922 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001244/0.553, allocations: 0.6657 MB / 0.9585 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.5531, allocations: 138.1 kB / 0.9586 GB, free: 2.391 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003256/0.5534, allocations: 379.8 kB / 0.959 GB, free: 2.145 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/0.5534, allocations: 31.86 kB / 0.959 GB, free: 2.109 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 7.496e-05/0.5535, allocations: 168.3 kB / 0.9592 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.386e-05/0.5535, allocations: 42.06 kB / 0.9592 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.132e-05/0.5536, allocations: 54.81 kB / 0.9593 GB, free: 1.883 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.219e-05/0.5537, allocations: 343.6 kB / 0.9596 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004108/0.5541, allocations: 235.8 kB / 0.9598 GB, free: 1.449 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003988/0.5545, allocations: 248.4 kB / 0.96 GB, free: 1.34 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008074/0.5553, allocations: 0.6801 MB / 0.9607 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.5553, allocations: 0 / 0.9607 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009542/0.5563, allocations: 0.7339 MB / 0.9614 GB, free: 404 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.819e-05/0.5564, allocations: 176.3 kB / 0.9616 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.148e-06/0.5564, allocations: 1.156 kB / 0.9616 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.5564, allocations: 1.344 kB / 0.9616 GB, free: 204 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000167/0.5566, allocations: 35.28 kB / 0.9616 GB, free: 188 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.5566, allocations: 4 kB / 0.9616 GB, free: 184 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002055/0.5568, allocations: 45.83 kB / 0.9617 GB, free: 160 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.413e-05/0.5568, allocations: 11.34 kB / 0.9617 GB, free: 156 kB / 0.7169 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.0001739/0.557, allocations: 256.3 kB / 0.9619 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.826e-05/0.5571, allocations: 28.28 kB / 0.962 GB, free: 15.89 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.667e-05/0.5571, allocations: 32.97 kB / 0.962 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.865e-06/0.5571, allocations: 1.219 kB / 0.962 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5571, allocations: 5.594 kB / 0.962 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.278e-06/0.5571, allocations: 3.984 kB / 0.962 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003375/0.5575, allocations: 347.2 kB / 0.9623 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.212e-06/0.5575, allocations: 0 / 0.9623 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000163/0.5577, allocations: 28.12 kB / 0.9624 GB, free: 15.53 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.5577, allocations: 4 kB / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.5577, allocations: 3.562 kB / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.473e-06/0.5577, allocations: 5.344 kB / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.5577, allocations: 0 / 0.9624 GB, free: 15.52 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009498/0.5587, allocations: 0.6193 MB / 0.963 GB, free: 15.1 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.715e-05/0.5588, allocations: 110.2 kB / 0.9631 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.756e-05/0.5588, allocations: 11.12 kB / 0.9631 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002241/0.559, allocations: 29.19 kB / 0.9631 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.749e-05/0.5591, allocations: 24.94 kB / 0.9631 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.965e-05/0.5592, allocations: 9.75 kB / 0.9632 GB, free: 14.95 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002755/0.5595, allocations: 277.2 kB / 0.9634 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5595, allocations: 5.25 kB / 0.9634 GB, free: 14.77 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0004176/0.5599, allocations: 104.9 kB / 0.9635 GB, free: 14.75 MB / 0.7325 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.00139/0.5613, allocations: 1.213 MB / 0.9647 GB, free: 13.79 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.001151/0.5624, allocations: 0.8428 MB / 0.9655 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.5625, allocations: 0.9688 kB / 0.9655 GB, free: 13.17 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0005363/0.563, allocations: 379.5 kB / 0.9659 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004453/0.5635, allocations: 78.75 kB / 0.966 GB, free: 12.84 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005615/0.5691, allocations: 4.434 MB / 0.9703 GB, free: 9.969 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003152/0.5694, allocations: 0.7845 MB / 0.9711 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 9.381e-05/0.5695, allocations: 22.66 kB / 0.9711 GB, free: 9.207 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001202/0.5696, allocations: 90.88 kB / 0.9712 GB, free: 9.133 MB / 0.7325 GB Notification: Performance of SimCode: time 4.21e-07/0.5696, allocations: 7.938 kB / 0.9712 GB, free: 9.125 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02586/0.5955, allocations: 8.65 MB / 0.9796 GB, free: 2.559 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.376/7.971, allocations: 12.28 kB / 0.9796 GB, free: 2.551 MB / 0.7325 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 & python3 -m fmpy simulate --output-file Buildings_9_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_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.csv","/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