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.005026/0.005026, allocations: 99.45 kB / 15.73 MB, free: 6.059 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.001185/0.001185, allocations: 194.3 kB / 16.68 MB, free: 5.969 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.254/1.254, allocations: 222.9 MB / 240.4 MB, free: 15.15 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.312/2.312, allocations: 437 MB / 0.7105 GB, free: 4.391 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001287/0.001288, allocations: 63.97 kB / 1.018 GB, free: 9.848 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6809/0.6822, allocations: 151.6 MB / 1.166 GB, free: 3.863 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002861/0.6851, allocations: 2.103 MB / 1.168 GB, free: 1.746 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001535/0.6867, allocations: 1.177 MB / 1.169 GB, free: 0.5586 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.993e-05/0.6868, allocations: 4 kB / 1.169 GB, free: 0.5547 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0003405/0.6871, allocations: 107.4 kB / 1.169 GB, free: 460 kB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 9.318e-05/0.6872, allocations: 47.58 kB / 1.17 GB, free: 412 kB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005945/0.6878, allocations: 261 kB / 1.17 GB, free: 152 kB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.000306/0.6881, allocations: 327.3 kB / 1.17 GB, free: 15.82 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001502/0.6883, allocations: 86.97 kB / 1.17 GB, free: 15.74 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.412e-05/0.6884, allocations: 107.7 kB / 1.17 GB, free: 15.64 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001437/0.6885, allocations: 131.4 kB / 1.17 GB, free: 15.51 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 4.404e-05/0.6886, allocations: 31.94 kB / 1.17 GB, free: 15.48 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003103/0.6889, allocations: 231.7 kB / 1.171 GB, free: 15.25 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 8.923e-05/0.689, allocations: 87.73 kB / 1.171 GB, free: 15.16 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0001233/0.6891, allocations: 155.2 kB / 1.171 GB, free: 15.01 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0005115/0.6897, allocations: 0.5485 MB / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.6897, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.223e-06/0.6897, allocations: 0 / 1.171 GB, free: 14.46 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.212e-06/0.6897, allocations: 0 / 1.171 GB, free: 14.46 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.001019/0.6907, allocations: 0.8279 MB / 1.172 GB, free: 13.55 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.504e-05/0.6907, allocations: 8.625 kB / 1.172 GB, free: 13.54 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.947e-05/0.6908, allocations: 50.73 kB / 1.172 GB, free: 13.48 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.127e-05/0.6909, allocations: 40.7 kB / 1.172 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003484/0.6912, allocations: 324.6 kB / 1.173 GB, free: 13.09 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.671e-05/0.6912, allocations: 12.66 kB / 1.173 GB, free: 13.08 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.843e-05/0.6913, allocations: 20.31 kB / 1.173 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005372/0.6918, allocations: 300.5 kB / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.6918, allocations: 0 / 1.173 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.217e-05/0.6919, allocations: 11.98 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.653e-06/0.6919, allocations: 4 kB / 1.173 GB, free: 12.75 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006092/0.6925, allocations: 272.4 kB / 1.173 GB, free: 12.48 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008747/0.6934, allocations: 0.6758 MB / 1.174 GB, free: 11.75 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004999/0.6939, allocations: 222.6 kB / 1.174 GB, free: 11.53 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003658/0.6943, allocations: 188.7 kB / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 1.517e-05/0.6943, allocations: 0 / 1.174 GB, free: 11.34 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.827e-05/0.6943, allocations: 34.56 kB / 1.174 GB, free: 11.3 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=14): time 1.162e-06/0.6943, allocations: 4 kB / 1.174 GB, free: 11.29 MB / 0.9044 GB Notification: Performance of matching and sorting (n=14): time 0.00125/0.6956, allocations: 0.6789 MB / 1.175 GB, free: 10.59 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.6957, allocations: 140.5 kB / 1.175 GB, free: 10.42 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003596/0.696, allocations: 380.5 kB / 1.175 GB, free: 10.04 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.263e-05/0.6961, allocations: 29.7 kB / 1.176 GB, free: 10.01 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001035/0.6962, allocations: 168.4 kB / 1.176 GB, free: 9.84 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.6962, allocations: 47.56 kB / 1.176 GB, free: 9.793 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.284e-05/0.6963, allocations: 49.7 kB / 1.176 GB, free: 9.738 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001153/0.6964, allocations: 342.8 kB / 1.176 GB, free: 9.395 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004228/0.6969, allocations: 243.8 kB / 1.176 GB, free: 9.156 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003963/0.6973, allocations: 238.4 kB / 1.177 GB, free: 8.926 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008478/0.6981, allocations: 0.6835 MB / 1.177 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.485e-06/0.6981, allocations: 0 / 1.177 GB, free: 8.184 MB / 0.9044 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0009835/0.6991, allocations: 0.7247 MB / 1.178 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 9.274e-05/0.6992, allocations: 182.2 kB / 1.178 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.538e-06/0.6992, allocations: 0 / 1.178 GB, free: 7.203 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.564e-05/0.6993, allocations: 7.984 kB / 1.178 GB, free: 7.195 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001544/0.6994, allocations: 27.97 kB / 1.178 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.6994, allocations: 0 / 1.178 GB, free: 7.168 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001928/0.6996, allocations: 47.81 kB / 1.178 GB, free: 7.121 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.24e-05/0.6996, allocations: 4 kB / 1.178 GB, free: 7.117 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.0001838/0.6998, allocations: 266.8 kB / 1.178 GB, free: 6.828 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.294e-05/0.6999, allocations: 31.81 kB / 1.178 GB, free: 6.797 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.425e-05/0.6999, allocations: 30.94 kB / 1.178 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.7, allocations: 0 / 1.178 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.7, allocations: 0 / 1.178 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.7, allocations: 0 / 1.178 GB, free: 6.762 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003011/0.7003, allocations: 357.2 kB / 1.179 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.7003, allocations: 0 / 1.179 GB, free: 6.363 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001454/0.7004, allocations: 27.97 kB / 1.179 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.7004, allocations: 0 / 1.179 GB, free: 6.336 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.65e-05/0.7005, allocations: 11.94 kB / 1.179 GB, free: 6.324 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.7005, allocations: 4 kB / 1.179 GB, free: 6.32 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.7005, allocations: 7.938 kB / 1.179 GB, free: 6.312 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008548/0.7013, allocations: 0.6223 MB / 1.179 GB, free: 5.656 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 7.643e-05/0.7014, allocations: 116.9 kB / 1.18 GB, free: 5.523 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.794e-05/0.7015, allocations: 4 kB / 1.18 GB, free: 5.52 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002039/0.7017, allocations: 27.97 kB / 1.18 GB, free: 5.492 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.231e-05/0.7018, allocations: 27.97 kB / 1.18 GB, free: 5.465 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.572e-05/0.7018, allocations: 4 kB / 1.18 GB, free: 5.461 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0002444/0.7021, allocations: 275 kB / 1.18 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7021, allocations: 0 / 1.18 GB, free: 5.191 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0003647/0.7024, allocations: 99.88 kB / 1.18 GB, free: 5.094 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.0013/0.7037, allocations: 1.234 MB / 1.181 GB, free: 3.816 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001055/0.7048, allocations: 0.8397 MB / 1.182 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.7048, allocations: 0 / 1.182 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.000454/0.7053, allocations: 378 kB / 1.182 GB, free: 2.496 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004115/0.7057, allocations: 69.31 kB / 1.182 GB, free: 2.426 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005008/0.7107, allocations: 4.424 MB / 1.187 GB, free: 13.89 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002977/0.711, allocations: 0.7831 MB / 1.188 GB, free: 13.08 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 8.045e-05/0.7111, allocations: 25.95 kB / 1.188 GB, free: 13.05 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001115/0.7112, allocations: 88.41 kB / 1.188 GB, free: 12.97 MB / 0.92 GB Notification: Performance of SimCode: time 6.01e-07/0.7112, allocations: 0 / 1.188 GB, free: 12.97 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02408/0.7353, allocations: 8.735 MB / 1.196 GB, free: 4.457 MB / 0.92 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.416/8.152, allocations: 8.438 kB / 1.196 GB, free: 4.453 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