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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001331/0.001331, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001563/0.001563, allocations: 195 kB / 16.14 MB, free: 6.656 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 / 239.8 MB, free: 4.586 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.504/2.504, allocations: 461.8 MB / 0.7342 GB, free: 14.18 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001191/0.001191, allocations: 62.47 kB / 0.8985 GB, free: 36.97 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2466, allocations: 157.4 MB / 1.052 GB, free: 8.141 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003183/0.2498, allocations: 2.154 MB / 1.054 GB, free: 5.969 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001827/0.2517, allocations: 1.223 MB / 1.056 GB, free: 4.738 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001352/0.2518, allocations: 4 kB / 1.056 GB, free: 4.734 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003803/0.2522, allocations: 111.4 kB / 1.056 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001133/0.2523, allocations: 35.72 kB / 1.056 GB, free: 4.59 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005628/0.2529, allocations: 206.8 kB / 1.056 GB, free: 4.391 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002715/0.2532, allocations: 263.2 kB / 1.056 GB, free: 4.133 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001532/0.2534, allocations: 99.23 kB / 1.056 GB, free: 4.035 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001057/0.2535, allocations: 87.7 kB / 1.056 GB, free: 3.949 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.2536, allocations: 123.4 kB / 1.056 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.595e-05/0.2537, allocations: 12 kB / 1.056 GB, free: 3.816 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003068/0.254, allocations: 203.7 kB / 1.057 GB, free: 3.617 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.2541, allocations: 79.73 kB / 1.057 GB, free: 3.539 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.0001259/0.2542, allocations: 139.1 kB / 1.057 GB, free: 3.402 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0004973/0.2547, allocations: 0.5258 MB / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.2547, allocations: 0 / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of FrontEnd: time 8.12e-07/0.2547, allocations: 0 / 1.057 GB, free: 2.875 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.2547, allocations: 0 / 1.057 GB, free: 2.875 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.001079/0.2558, allocations: 0.814 MB / 1.058 GB, free: 1.973 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.2559, allocations: 8.031 kB / 1.058 GB, free: 1.965 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.96e-05/0.2559, allocations: 50.73 kB / 1.058 GB, free: 1.906 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.419e-05/0.256, allocations: 32.56 kB / 1.058 GB, free: 1.875 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003409/0.2564, allocations: 320.4 kB / 1.059 GB, free: 1.52 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.571e-05/0.2564, allocations: 12.66 kB / 1.059 GB, free: 1.508 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.217e-05/0.2564, allocations: 16.38 kB / 1.059 GB, free: 1.492 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005727/0.257, allocations: 299 kB / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.876e-06/0.257, allocations: 0 / 1.059 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.376e-05/0.257, allocations: 11.94 kB / 1.059 GB, free: 1.184 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.2571, allocations: 4 kB / 1.059 GB, free: 1.18 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006202/0.2577, allocations: 272.4 kB / 1.059 GB, free: 0.9141 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008724/0.2586, allocations: 0.6682 MB / 1.06 GB, free: 200 kB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005148/0.2591, allocations: 234.6 kB / 1.06 GB, free: 15.95 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/0.2595, allocations: 192.7 kB / 1.06 GB, free: 15.77 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.611e-05/0.2595, allocations: 4 kB / 1.06 GB, free: 15.76 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/0.2595, allocations: 34.61 kB / 1.06 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.473e-06/0.2595, allocations: 0 / 1.06 GB, free: 15.72 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001269/0.2608, allocations: 0.6699 MB / 1.061 GB, free: 15.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.241e-05/0.2609, allocations: 140.5 kB / 1.061 GB, free: 14.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003647/0.2612, allocations: 380.5 kB / 1.061 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.2613, allocations: 29.7 kB / 1.061 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.2614, allocations: 168.3 kB / 1.062 GB, free: 14.28 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.14e-05/0.2614, allocations: 35.38 kB / 1.062 GB, free: 14.24 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.359e-05/0.2615, allocations: 57.69 kB / 1.062 GB, free: 14.18 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001083/0.2616, allocations: 342.8 kB / 1.062 GB, free: 13.84 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004134/0.2621, allocations: 235.9 kB / 1.062 GB, free: 13.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004053/0.2625, allocations: 242.2 kB / 1.062 GB, free: 13.37 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008579/0.2633, allocations: 0.6806 MB / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.728e-06/0.2634, allocations: 0 / 1.063 GB, free: 12.63 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001015/0.2644, allocations: 0.7402 MB / 1.064 GB, free: 11.85 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 9.419e-05/0.2645, allocations: 182.2 kB / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.519e-06/0.2645, allocations: 0 / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.053e-05/0.2645, allocations: 0 / 1.064 GB, free: 11.64 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001671/0.2647, allocations: 31.97 kB / 1.064 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.2647, allocations: 4 kB / 1.064 GB, free: 11.6 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002006/0.2649, allocations: 47.73 kB / 1.064 GB, free: 11.55 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.42e-05/0.2649, allocations: 8 kB / 1.064 GB, free: 11.55 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.0001972/0.2651, allocations: 270.8 kB / 1.064 GB, free: 11.25 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.345e-05/0.2652, allocations: 31.62 kB / 1.064 GB, free: 11.22 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.302e-05/0.2652, allocations: 26.94 kB / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.2653, allocations: 0 / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.731e-06/0.2653, allocations: 0 / 1.064 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.335e-06/0.2653, allocations: 3.938 kB / 1.064 GB, free: 11.19 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003076/0.2656, allocations: 353.2 kB / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.2656, allocations: 0 / 1.065 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001591/0.2658, allocations: 27.97 kB / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.2658, allocations: 0 / 1.065 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.097e-05/0.2658, allocations: 8 kB / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.2658, allocations: 0 / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.71e-07/0.2658, allocations: 0 / 1.065 GB, free: 10.76 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008913/0.2667, allocations: 0.6211 MB / 1.065 GB, free: 10.11 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.42e-05/0.2668, allocations: 112.7 kB / 1.065 GB, free: 9.977 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.596e-05/0.2668, allocations: 8 kB / 1.065 GB, free: 9.969 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000219/0.2671, allocations: 23.97 kB / 1.066 GB, free: 9.945 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.811e-05/0.2672, allocations: 31.97 kB / 1.066 GB, free: 9.914 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.2672, allocations: 8 kB / 1.066 GB, free: 9.906 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002601/0.2675, allocations: 275 kB / 1.066 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2675, allocations: 0 / 1.066 GB, free: 9.637 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003816/0.2678, allocations: 99.91 kB / 1.066 GB, free: 9.539 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.001333/0.2692, allocations: 1.226 MB / 1.067 GB, free: 8.27 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001045/0.2702, allocations: 0.8321 MB / 1.068 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.2703, allocations: 0 / 1.068 GB, free: 7.363 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0004748/0.2707, allocations: 378 kB / 1.068 GB, free: 6.957 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004171/0.2712, allocations: 69.33 kB / 1.068 GB, free: 6.887 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005436/0.2766, allocations: 4.482 MB / 1.073 GB, free: 2.285 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003123/0.2769, allocations: 0.787 MB / 1.073 GB, free: 1.473 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 8.988e-05/0.277, allocations: 21.95 kB / 1.073 GB, free: 1.453 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001144/0.2771, allocations: 83.41 kB / 1.074 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of SimCode: time 3.5e-07/0.2772, allocations: 0 / 1.074 GB, free: 1.375 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5249/0.802, allocations: 8.054 MB / 1.081 GB, free: 9.57 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002542/0.8023, allocations: 252.3 kB / 1.082 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.842/2.644, allocations: 2.812 kB / 1.082 GB, free: 9.312 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