Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_latest_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.001491/0.001491, allocations: 111.9 kB / 15.61 MB, free: 128 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.00159/0.00159, allocations: 197.1 kB / 16.54 MB, free: 6.668 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.368/1.368, 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 11.0.1-master/package.mo): time 2.744/2.744, allocations: 469.4 MB / 0.742 GB, free: 7.77 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001282, allocations: 65.55 kB / 0.9083 GB, free: 34.51 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2607/0.262, allocations: 159.1 MB / 1.064 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003296/0.2653, allocations: 2.108 MB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001834/0.2672, allocations: 1.172 MB / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001229/0.2673, allocations: 0 / 1.067 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003891/0.2677, allocations: 111.4 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0001164/0.2679, allocations: 51.58 kB / 1.067 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006816/0.2686, allocations: 259.7 kB / 1.067 GB, free: 10.84 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003251/0.2689, allocations: 315.3 kB / 1.068 GB, free: 10.53 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001735/0.2691, allocations: 98.98 kB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001073/0.2692, allocations: 103.7 kB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001587/0.2694, allocations: 127.5 kB / 1.068 GB, free: 10.2 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 5.058e-05/0.2694, allocations: 32 kB / 1.068 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003368/0.2698, allocations: 219.7 kB / 1.068 GB, free: 9.957 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.621e-05/0.2699, allocations: 95.67 kB / 1.068 GB, free: 9.863 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.0001361/0.27, allocations: 155.1 kB / 1.068 GB, free: 9.711 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.2706, allocations: 0.5414 MB / 1.069 GB, free: 9.168 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.589e-06/0.2706, allocations: 4 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2706, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.556e-06/0.2706, allocations: 4 kB / 1.069 GB, free: 9.16 MB / 0.8262 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.001075/0.2717, allocations: 0.8048 MB / 1.07 GB, free: 8.266 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.469e-05/0.2717, allocations: 12.03 kB / 1.07 GB, free: 8.254 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.234e-05/0.2718, allocations: 46.73 kB / 1.07 GB, free: 8.199 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.959e-05/0.2719, allocations: 40.47 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003525/0.2722, allocations: 320.4 kB / 1.07 GB, free: 7.809 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.416e-05/0.2723, allocations: 12.66 kB / 1.07 GB, free: 7.797 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.545e-05/0.2723, allocations: 20.38 kB / 1.07 GB, free: 7.777 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005684/0.2729, allocations: 298.9 kB / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.2729, allocations: 0 / 1.07 GB, free: 7.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.935e-05/0.2729, allocations: 12 kB / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.2729, allocations: 0 / 1.07 GB, free: 7.469 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006441/0.2736, allocations: 272.4 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009542/0.2745, allocations: 0.68 MB / 1.071 GB, free: 6.473 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005369/0.2751, allocations: 226.6 kB / 1.072 GB, free: 6.242 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003816/0.2755, allocations: 184.8 kB / 1.072 GB, free: 6.059 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.456e-05/0.2755, allocations: 3.984 kB / 1.072 GB, free: 6.055 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.496e-05/0.2755, allocations: 38.56 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 5.811e-06/0.2756, allocations: 4.109 kB / 1.072 GB, free: 6.004 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001297/0.2769, allocations: 0.666 MB / 1.072 GB, free: 5.312 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.987e-05/0.2769, allocations: 136.5 kB / 1.073 GB, free: 5.148 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003582/0.2773, allocations: 384.5 kB / 1.073 GB, free: 4.766 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.356e-05/0.2773, allocations: 29.7 kB / 1.073 GB, free: 4.73 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001009/0.2774, allocations: 168.3 kB / 1.073 GB, free: 4.562 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.181e-05/0.2775, allocations: 47.34 kB / 1.073 GB, free: 4.516 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.33e-05/0.2776, allocations: 45.7 kB / 1.073 GB, free: 4.465 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001039/0.2777, allocations: 346.8 kB / 1.074 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004226/0.2781, allocations: 239.8 kB / 1.074 GB, free: 3.883 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004211/0.2785, allocations: 240 kB / 1.074 GB, free: 3.648 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009256/0.2795, allocations: 0.6859 MB / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.053e-06/0.2795, allocations: 0 / 1.075 GB, free: 2.906 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001065/0.2806, allocations: 0.7218 MB / 1.075 GB, free: 2.141 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.728e-05/0.2807, allocations: 186.2 kB / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5e-06/0.2807, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.474e-05/0.2807, allocations: 0 / 1.076 GB, free: 1.922 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001647/0.2809, allocations: 31.97 kB / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.2809, allocations: 0 / 1.076 GB, free: 1.891 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002153/0.2811, allocations: 47.75 kB / 1.076 GB, free: 1.844 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.402e-05/0.2811, allocations: 7.938 kB / 1.076 GB, free: 1.836 MB / 0.8262 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.0001965/0.2813, allocations: 267.3 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.934e-05/0.2814, allocations: 27.62 kB / 1.076 GB, free: 1.52 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.575e-05/0.2814, allocations: 34.94 kB / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.2815, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.2815, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.2815, allocations: 0 / 1.076 GB, free: 1.484 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003174/0.2818, allocations: 357.2 kB / 1.076 GB, free: 1.086 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.2818, allocations: 3.938 kB / 1.076 GB, free: 1.082 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001602/0.282, allocations: 27.97 kB / 1.076 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.893e-06/0.282, allocations: 0 / 1.076 GB, free: 1.055 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.975e-05/0.282, allocations: 4 kB / 1.076 GB, free: 1.051 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.282, allocations: 4 kB / 1.076 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.282, allocations: 0 / 1.076 GB, free: 1.047 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000923/0.2829, allocations: 0.627 MB / 1.077 GB, free: 396 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.833e-05/0.283, allocations: 104.8 kB / 1.077 GB, free: 272 kB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.487e-05/0.2831, allocations: 8 kB / 1.077 GB, free: 264 kB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002216/0.2833, allocations: 31.95 kB / 1.077 GB, free: 232 kB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001026/0.2834, allocations: 27.97 kB / 1.077 GB, free: 204 kB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.924e-05/0.2834, allocations: 8 kB / 1.077 GB, free: 196 kB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002725/0.2837, allocations: 275 kB / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2837, allocations: 0 / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003991/0.2841, allocations: 107.9 kB / 1.077 GB, free: 15.82 MB / 0.8419 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.001381/0.2855, allocations: 1.217 MB / 1.079 GB, free: 14.55 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.001117/0.2866, allocations: 0.8427 MB / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2867, allocations: 0 / 1.08 GB, free: 13.64 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004793/0.2871, allocations: 378.1 kB / 1.08 GB, free: 13.23 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004234/0.2876, allocations: 69.92 kB / 1.08 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005438/0.293, allocations: 4.429 MB / 1.084 GB, free: 8.625 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003073/0.2934, allocations: 0.7869 MB / 1.085 GB, free: 7.812 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 8.843e-05/0.2934, allocations: 21.95 kB / 1.085 GB, free: 7.793 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001177/0.2936, allocations: 91.41 kB / 1.085 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of SimCode: time 2.31e-07/0.2936, allocations: 0 / 1.085 GB, free: 7.703 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.575/2.868, allocations: 8.668 MB / 1.094 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.81/10.68, allocations: 4.438 kB / 1.094 GB, free: 15.27 MB / 0.8575 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & python3 -m fmpy simulate --output-file Buildings_latest_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_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches