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.005079/0.005079, allocations: 103.9 kB / 15.73 MB, free: 6.039 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.001201/0.001201, allocations: 193.8 kB / 16.67 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.29/1.29, allocations: 222.9 MB / 240.4 MB, free: 4.309 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.279/2.279, allocations: 390.3 MB / 0.6648 GB, free: 164 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001228/0.001228, allocations: 64.28 kB / 0.9504 GB, free: 5.941 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2355, allocations: 140.4 MB / 1.087 GB, free: 1.953 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003083/0.2386, allocations: 2.104 MB / 1.09 GB, free: 15.83 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001782/0.2404, allocations: 1.165 MB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001282/0.2406, allocations: 4 kB / 1.091 GB, free: 14.66 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.000429/0.241, allocations: 119.3 kB / 1.091 GB, free: 14.54 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001142/0.2412, allocations: 47.53 kB / 1.091 GB, free: 14.49 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007697/0.242, allocations: 264.1 kB / 1.091 GB, free: 14.24 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0003727/0.2423, allocations: 315.3 kB / 1.091 GB, free: 13.93 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002022/0.2425, allocations: 110.8 kB / 1.092 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001189/0.2427, allocations: 99.7 kB / 1.092 GB, free: 13.72 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000168/0.2429, allocations: 135.4 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 4.409e-05/0.2429, allocations: 32 kB / 1.092 GB, free: 13.56 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000365/0.2433, allocations: 219.7 kB / 1.092 GB, free: 13.34 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 9.835e-05/0.2434, allocations: 91.73 kB / 1.092 GB, free: 13.25 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0001366/0.2435, allocations: 151.2 kB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0005863/0.2441, allocations: 0.55 MB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.348e-06/0.2441, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2441, allocations: 4 kB / 1.093 GB, free: 12.55 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 1.033e-05/0.2442, allocations: 0 / 1.093 GB, free: 12.55 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.00115/0.2453, allocations: 0.8165 MB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.383e-05/0.2454, allocations: 8.031 kB / 1.094 GB, free: 11.64 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.124e-05/0.2454, allocations: 46.75 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.819e-05/0.2455, allocations: 40.45 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003836/0.2459, allocations: 320.4 kB / 1.094 GB, free: 11.19 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.2459, allocations: 20.41 kB / 1.094 GB, free: 11.17 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.307e-05/0.246, allocations: 19.94 kB / 1.094 GB, free: 11.15 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00059/0.2466, allocations: 294.8 kB / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.2466, allocations: 0 / 1.094 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.319e-05/0.2466, allocations: 8 kB / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.2466, allocations: 0 / 1.094 GB, free: 10.85 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006366/0.2473, allocations: 276.4 kB / 1.095 GB, free: 10.58 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000974/0.2483, allocations: 0.6679 MB / 1.095 GB, free: 9.863 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005367/0.2488, allocations: 222.6 kB / 1.095 GB, free: 9.637 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000389/0.2492, allocations: 196.7 kB / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.468e-05/0.2492, allocations: 0 / 1.096 GB, free: 9.441 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.437e-05/0.2493, allocations: 34.55 kB / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=14): time 2.915e-06/0.2493, allocations: 112 / 1.096 GB, free: 9.398 MB / 0.8575 GB Notification: Performance of matching and sorting (n=14): time 0.001327/0.2506, allocations: 0.6738 MB / 1.096 GB, free: 8.699 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.2507, allocations: 140.5 kB / 1.096 GB, free: 8.531 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003869/0.2511, allocations: 376.5 kB / 1.097 GB, free: 8.156 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.773e-05/0.2511, allocations: 25.7 kB / 1.097 GB, free: 8.125 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001099/0.2513, allocations: 168.3 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 4.486e-05/0.2513, allocations: 47.34 kB / 1.097 GB, free: 7.91 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.186e-05/0.2514, allocations: 49.7 kB / 1.097 GB, free: 7.855 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001149/0.2515, allocations: 342.8 kB / 1.097 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004448/0.252, allocations: 235.8 kB / 1.098 GB, free: 7.281 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004215/0.2524, allocations: 239 kB / 1.098 GB, free: 7.051 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009051/0.2533, allocations: 0.6886 MB / 1.098 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.826e-06/0.2533, allocations: 0 / 1.098 GB, free: 6.305 MB / 0.8575 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001084/0.2544, allocations: 0.7394 MB / 1.099 GB, free: 5.523 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001061/0.2545, allocations: 186.2 kB / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2546, allocations: 0 / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.554e-05/0.2546, allocations: 0 / 1.099 GB, free: 5.305 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001744/0.2548, allocations: 27.97 kB / 1.099 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.941e-06/0.2548, allocations: 0 / 1.099 GB, free: 5.277 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002285/0.255, allocations: 47.69 kB / 1.099 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.657e-05/0.255, allocations: 12 kB / 1.099 GB, free: 5.219 MB / 0.8575 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.0002207/0.2553, allocations: 258.8 kB / 1.1 GB, free: 4.938 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.089e-05/0.2553, allocations: 31.62 kB / 1.1 GB, free: 4.906 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.106e-05/0.2554, allocations: 26.94 kB / 1.1 GB, free: 4.879 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.268e-06/0.2554, allocations: 4 kB / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.2554, allocations: 0 / 1.1 GB, free: 4.875 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.918e-06/0.2554, allocations: 3.938 kB / 1.1 GB, free: 4.871 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003483/0.2558, allocations: 341.3 kB / 1.1 GB, free: 4.488 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.804e-06/0.2558, allocations: 7.938 kB / 1.1 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001638/0.256, allocations: 27.97 kB / 1.1 GB, free: 4.453 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.13e-06/0.256, allocations: 7.984 kB / 1.1 GB, free: 4.445 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.121e-05/0.256, allocations: 11.94 kB / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.813e-06/0.256, allocations: 0 / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.743e-06/0.256, allocations: 0 / 1.1 GB, free: 4.434 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009564/0.257, allocations: 0.6172 MB / 1.101 GB, free: 3.781 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.138e-05/0.2571, allocations: 112.7 kB / 1.101 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.513e-05/0.2571, allocations: 12 kB / 1.101 GB, free: 3.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002205/0.2574, allocations: 27.95 kB / 1.101 GB, free: 3.613 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001114/0.2575, allocations: 31.95 kB / 1.101 GB, free: 3.582 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.977e-05/0.2575, allocations: 11.94 kB / 1.101 GB, free: 3.57 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 0.0002784/0.2578, allocations: 271 kB / 1.101 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2578, allocations: 0 / 1.101 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0004206/0.2582, allocations: 103.9 kB / 1.101 GB, free: 3.203 MB / 0.8575 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.001435/0.2597, allocations: 1.219 MB / 1.103 GB, free: 1.941 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.001152/0.2608, allocations: 0.836 MB / 1.103 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.2609, allocations: 0 / 1.103 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0004965/0.2614, allocations: 378 kB / 1.104 GB, free: 0.625 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000474/0.2618, allocations: 74.98 kB / 1.104 GB, free: 0.5547 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005893/0.2677, allocations: 4.412 MB / 1.108 GB, free: 12.02 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003429/0.2681, allocations: 0.7831 MB / 1.109 GB, free: 11.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 0.0001076/0.2682, allocations: 29.92 kB / 1.109 GB, free: 11.18 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001304/0.2684, allocations: 87.41 kB / 1.109 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of SimCode: time 6.91e-07/0.2684, allocations: 4 kB / 1.109 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02651/0.2949, allocations: 8.717 MB / 1.117 GB, free: 2.598 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.09/8.385, allocations: 13.8 kB / 1.117 GB, free: 2.586 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