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.005485/0.005485, allocations: 98.03 kB / 15.73 MB, free: 6.012 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.001343/0.001343, allocations: 194.8 kB / 16.67 MB, free: 5.926 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.285/1.285, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.134/2.134, allocations: 390.3 MB / 0.6648 GB, free: 0.6133 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 63.91 kB / 0.9504 GB, free: 8.102 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6764/0.6776, allocations: 140.4 MB / 1.087 GB, free: 5.25 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002832/0.6805, allocations: 2.095 MB / 1.09 GB, free: 3.793 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001573/0.6821, allocations: 1.171 MB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001074/0.6822, allocations: 3.844 kB / 1.091 GB, free: 2.996 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0003772/0.6826, allocations: 115.3 kB / 1.091 GB, free: 2.938 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.000104/0.6827, allocations: 50.97 kB / 1.091 GB, free: 2.902 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007102/0.6835, allocations: 260.9 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003405/0.6838, allocations: 319.8 kB / 1.091 GB, free: 2.637 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000172/0.684, allocations: 105.6 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001102/0.6841, allocations: 108.6 kB / 1.092 GB, free: 2.523 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001525/0.6843, allocations: 124.7 kB / 1.092 GB, free: 2.461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 5.4e-05/0.6843, allocations: 34.09 kB / 1.092 GB, free: 2.457 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003747/0.6847, allocations: 227.7 kB / 1.092 GB, free: 2.402 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.0001011/0.6848, allocations: 89.98 kB / 1.092 GB, free: 2.363 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001216/0.6849, allocations: 161.3 kB / 1.092 GB, free: 2.25 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0006959/0.6856, allocations: 0.5567 MB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 3.606e-06/0.6857, allocations: 0.75 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.6857, allocations: 0.7969 kB / 1.093 GB, free: 2.051 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 7.604e-06/0.6857, allocations: 0.7812 kB / 1.093 GB, free: 2.051 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.001024/0.6867, allocations: 0.8188 MB / 1.094 GB, free: 1.316 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.6867, allocations: 14.25 kB / 1.094 GB, free: 1.312 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.6868, allocations: 48.3 kB / 1.094 GB, free: 1.266 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.323e-05/0.6869, allocations: 42.27 kB / 1.094 GB, free: 1.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003394/0.6872, allocations: 320.9 kB / 1.094 GB, free: 0.9609 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.913e-05/0.6873, allocations: 16 kB / 1.094 GB, free: 0.9531 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.537e-05/0.6873, allocations: 16.75 kB / 1.094 GB, free: 0.9492 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006118/0.6879, allocations: 293 kB / 1.094 GB, free: 0.8438 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.426e-06/0.6879, allocations: 4 kB / 1.094 GB, free: 0.8398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.688, allocations: 7.062 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.153e-06/0.688, allocations: 3.969 kB / 1.094 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006857/0.6887, allocations: 269.2 kB / 1.095 GB, free: 0.7695 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001012/0.6897, allocations: 0.6757 MB / 1.095 GB, free: 316 kB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005688/0.6903, allocations: 226.1 kB / 1.095 GB, free: 236 kB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004105/0.6907, allocations: 194.5 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.266e-05/0.6907, allocations: 1.125 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.205e-05/0.6907, allocations: 32.12 kB / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 1.713e-06/0.6907, allocations: 0 / 1.096 GB, free: 136 kB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001464/0.6922, allocations: 0.6715 MB / 1.096 GB, free: 15.85 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.862e-05/0.6923, allocations: 134.6 kB / 1.096 GB, free: 15.69 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000439/0.6927, allocations: 380.3 kB / 1.097 GB, free: 15.5 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 3.218e-05/0.6928, allocations: 36.36 kB / 1.097 GB, free: 15.46 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001087/0.6929, allocations: 167.2 kB / 1.097 GB, free: 15.32 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 4.897e-05/0.693, allocations: 49.08 kB / 1.097 GB, free: 15.28 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.571e-05/0.6931, allocations: 47.52 kB / 1.097 GB, free: 15.25 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001167/0.6932, allocations: 345.2 kB / 1.097 GB, free: 14.93 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004799/0.6937, allocations: 233.7 kB / 1.098 GB, free: 14.87 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004709/0.6941, allocations: 245.2 kB / 1.098 GB, free: 14.8 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00098/0.6951, allocations: 0.6796 MB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.815e-06/0.6951, allocations: 0.9688 kB / 1.099 GB, free: 14.38 MB / 0.8731 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001142/0.6963, allocations: 0.7341 MB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001036/0.6964, allocations: 179.9 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/0.6964, allocations: 0.7031 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.6964, allocations: 1.438 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001809/0.6966, allocations: 31.91 kB / 1.099 GB, free: 13.8 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.001e-06/0.6966, allocations: 12.48 kB / 1.099 GB, free: 13.79 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002435/0.6969, allocations: 45.64 kB / 1.099 GB, free: 13.77 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.954e-05/0.6969, allocations: 11.12 kB / 1.1 GB, free: 13.77 MB / 0.8731 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.0002342/0.6972, allocations: 254.1 kB / 1.1 GB, free: 13.54 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.738e-05/0.6973, allocations: 32.39 kB / 1.1 GB, free: 13.52 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.563e-05/0.6973, allocations: 35.77 kB / 1.1 GB, free: 13.5 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.6973, allocations: 5.375 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.6973, allocations: 1.094 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.6973, allocations: 4.641 kB / 1.1 GB, free: 13.49 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003888/0.6977, allocations: 350.6 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6978, allocations: 0 / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000161/0.6979, allocations: 27.61 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.6979, allocations: 1.188 kB / 1.1 GB, free: 13.23 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.377e-05/0.698, allocations: 8.797 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.698, allocations: 0.6094 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.698, allocations: 4.812 kB / 1.1 GB, free: 13.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001004/0.699, allocations: 0.6203 MB / 1.101 GB, free: 12.86 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 9.122e-05/0.6991, allocations: 108.3 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.153e-05/0.6991, allocations: 8.359 kB / 1.101 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002283/0.6994, allocations: 29.66 kB / 1.101 GB, free: 12.74 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.6995, allocations: 25.91 kB / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-05/0.6995, allocations: 11.94 kB / 1.101 GB, free: 12.73 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0003159/0.6998, allocations: 273.1 kB / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of sort global known variables: time 2.31e-07/0.6999, allocations: 0 / 1.101 GB, free: 12.59 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0005298/0.7004, allocations: 106.9 kB / 1.101 GB, free: 12.57 MB / 0.8731 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.001537/0.7019, allocations: 1.222 MB / 1.103 GB, free: 11.67 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.001143/0.7031, allocations: 0.8343 MB / 1.103 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.7031, allocations: 0 / 1.103 GB, free: 11.14 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 0.000498/0.7036, allocations: 379.7 kB / 1.104 GB, free: 10.89 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.7041, allocations: 69.88 kB / 1.104 GB, free: 10.87 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005747/0.7098, allocations: 4.43 MB / 1.108 GB, free: 8.457 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000325/0.7102, allocations: 0.7869 MB / 1.109 GB, free: 7.742 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001113/0.7103, allocations: 28.38 kB / 1.109 GB, free: 7.734 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001288/0.7104, allocations: 87.72 kB / 1.109 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of SimCode: time 7.41e-07/0.7104, allocations: 0 / 1.109 GB, free: 7.668 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02624/0.7367, allocations: 8.722 MB / 1.118 GB, free: 6.859 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.668/8.405, allocations: 8.641 kB / 1.118 GB, free: 6.855 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 & 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