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.001425/0.001425, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001677/0.001677, allocations: 195 kB / 16.25 MB, free: 6.625 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.288/1.288, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.394/2.394, allocations: 461.9 MB / 0.7343 GB, free: 14.94 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001202/0.001202, allocations: 61.36 kB / 0.8987 GB, free: 37.12 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2528/0.2541, allocations: 157.4 MB / 1.052 GB, free: 8.59 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003282/0.2574, allocations: 2.16 MB / 1.055 GB, free: 6.414 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001783/0.2592, allocations: 1.169 MB / 1.056 GB, free: 5.238 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001562/0.2594, allocations: 7.938 kB / 1.056 GB, free: 5.23 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003977/0.2598, allocations: 99.53 kB / 1.056 GB, free: 5.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001358/0.2599, allocations: 35.72 kB / 1.056 GB, free: 5.098 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007018/0.2606, allocations: 235.9 kB / 1.056 GB, free: 4.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.000385/0.261, allocations: 319.3 kB / 1.056 GB, free: 4.555 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002274/0.2613, allocations: 103 kB / 1.056 GB, free: 4.453 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001684/0.2615, allocations: 99.69 kB / 1.057 GB, free: 4.355 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002189/0.2617, allocations: 135.4 kB / 1.057 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 6.557e-05/0.2618, allocations: 35.94 kB / 1.057 GB, free: 4.188 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003785/0.2621, allocations: 219.7 kB / 1.057 GB, free: 3.973 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001/0.2623, allocations: 87.73 kB / 1.057 GB, free: 3.887 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001355/0.2624, allocations: 151.2 kB / 1.057 GB, free: 3.738 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0005427/0.2629, allocations: 0.5414 MB / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.998e-06/0.263, allocations: 0 / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.363e-06/0.263, allocations: 0 / 1.058 GB, free: 3.195 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 9.437e-06/0.263, allocations: 4 kB / 1.058 GB, free: 3.191 MB / 0.8106 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.001145/0.2641, allocations: 0.8048 MB / 1.058 GB, free: 2.297 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.024e-05/0.2642, allocations: 12.61 kB / 1.058 GB, free: 2.285 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.344e-05/0.2642, allocations: 46.75 kB / 1.059 GB, free: 2.23 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.454e-05/0.2643, allocations: 32.56 kB / 1.059 GB, free: 2.199 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003643/0.2647, allocations: 328.4 kB / 1.059 GB, free: 1.836 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.677e-05/0.2647, allocations: 12.66 kB / 1.059 GB, free: 1.824 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.108e-05/0.2647, allocations: 16.38 kB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005584/0.2653, allocations: 299 kB / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.558e-06/0.2653, allocations: 0 / 1.059 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.197e-05/0.2654, allocations: 8 kB / 1.059 GB, free: 1.504 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.2654, allocations: 4 kB / 1.059 GB, free: 1.5 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005944/0.266, allocations: 272.4 kB / 1.059 GB, free: 1.234 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008953/0.2669, allocations: 0.676 MB / 1.06 GB, free: 0.5078 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000485/0.2674, allocations: 226.6 kB / 1.06 GB, free: 284 kB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003479/0.2677, allocations: 188.7 kB / 1.06 GB, free: 92 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 1.783e-05/0.2678, allocations: 4 kB / 1.06 GB, free: 88 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.172e-05/0.2678, allocations: 38.48 kB / 1.061 GB, free: 40 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=14): time 2.955e-06/0.2678, allocations: 4.109 kB / 1.061 GB, free: 36 kB / 0.8106 GB Notification: Performance of matching and sorting (n=14): time 0.001248/0.269, allocations: 0.6701 MB / 1.061 GB, free: 15.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.993e-05/0.2691, allocations: 136.5 kB / 1.061 GB, free: 15.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004273/0.2696, allocations: 384.5 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.865e-05/0.2696, allocations: 29.7 kB / 1.062 GB, free: 14.76 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.000112/0.2697, allocations: 168.3 kB / 1.062 GB, free: 14.59 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.311e-05/0.2698, allocations: 43.36 kB / 1.062 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.564e-05/0.2698, allocations: 45.7 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.27, allocations: 342.8 kB / 1.062 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004159/0.2704, allocations: 247.8 kB / 1.063 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003901/0.2708, allocations: 231.9 kB / 1.063 GB, free: 13.69 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008698/0.2717, allocations: 0.6899 MB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.2717, allocations: 0 / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001034/0.2727, allocations: 0.729 MB / 1.064 GB, free: 12.17 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.000116/0.2729, allocations: 186.2 kB / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.34e-06/0.2729, allocations: 0 / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.318e-05/0.2729, allocations: 0 / 1.064 GB, free: 11.95 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001548/0.273, allocations: 31.97 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.163e-06/0.2731, allocations: 4 kB / 1.064 GB, free: 11.92 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002102/0.2733, allocations: 43.75 kB / 1.064 GB, free: 11.88 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.464e-05/0.2733, allocations: 8 kB / 1.064 GB, free: 11.87 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.0002136/0.2735, allocations: 262.8 kB / 1.065 GB, free: 11.58 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.841e-05/0.2736, allocations: 31.62 kB / 1.065 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.437e-05/0.2736, allocations: 30.94 kB / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.284e-06/0.2737, allocations: 0 / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.2737, allocations: 0 / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.2737, allocations: 0 / 1.065 GB, free: 11.52 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003172/0.274, allocations: 349.2 kB / 1.065 GB, free: 11.13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.274, allocations: 3.938 kB / 1.065 GB, free: 11.12 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001496/0.2742, allocations: 27.97 kB / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.2742, allocations: 0 / 1.065 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.2742, allocations: 12 kB / 1.065 GB, free: 11.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.2742, allocations: 4 kB / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.2742, allocations: 0 / 1.065 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008789/0.2751, allocations: 0.6211 MB / 1.066 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.585e-05/0.2752, allocations: 116.7 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.365e-05/0.2752, allocations: 4 kB / 1.066 GB, free: 10.29 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002063/0.2754, allocations: 31.95 kB / 1.066 GB, free: 10.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000113/0.2756, allocations: 23.98 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.863e-05/0.2756, allocations: 7.984 kB / 1.066 GB, free: 10.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002573/0.2758, allocations: 271 kB / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2759, allocations: 0 / 1.066 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003808/0.2762, allocations: 103.9 kB / 1.066 GB, free: 9.859 MB / 0.8262 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.001377/0.2776, allocations: 1.234 MB / 1.067 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001058/0.2787, allocations: 0.836 MB / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.973e-06/0.2787, allocations: 0 / 1.068 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004425/0.2792, allocations: 374.1 kB / 1.069 GB, free: 7.27 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004242/0.2796, allocations: 69.88 kB / 1.069 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005369/0.285, allocations: 4.497 MB / 1.073 GB, free: 2.59 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00031/0.2853, allocations: 0.7909 MB / 1.074 GB, free: 1.773 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.974e-05/0.2854, allocations: 21.95 kB / 1.074 GB, free: 1.754 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001147/0.2855, allocations: 91.41 kB / 1.074 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of SimCode: time 4.81e-07/0.2855, allocations: 0 / 1.074 GB, free: 1.664 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.866/2.152, allocations: 8.295 MB / 1.082 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002367/2.152, allocations: 247.4 kB / 1.082 GB, free: 9.391 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.205/5.357, allocations: 0 / 1.082 GB, free: 9.391 MB / 0.8419 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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