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.000999/0.000999, allocations: 97.72 kB / 15.36 MB, free: 0.7344 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.00764/0.00764, allocations: 172.8 kB / 16.27 MB, free: 6.648 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.28/1.28, allocations: 223.3 MB / 240.3 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.344/2.344, allocations: 462.7 MB / 0.7364 GB, free: 15.53 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0002796/0.0002796, allocations: 10.12 kB / 0.9029 GB, free: 36.35 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2236/0.2239, allocations: 159.6 MB / 1.059 GB, free: 4.828 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002044/0.226, allocations: 1.804 MB / 1.061 GB, free: 3.012 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.001664/0.2277, allocations: 1.2 MB / 1.062 GB, free: 1.805 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.281e-05/0.2278, allocations: 4 kB / 1.062 GB, free: 1.801 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0003111/0.2281, allocations: 103.5 kB / 1.062 GB, free: 1.699 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 9.903e-05/0.2282, allocations: 43.7 kB / 1.062 GB, free: 1.656 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005276/0.2287, allocations: 207.6 kB / 1.062 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0002532/0.229, allocations: 263.2 kB / 1.062 GB, free: 1.195 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001592/0.2292, allocations: 103.2 kB / 1.062 GB, free: 1.094 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 8.929e-05/0.2293, allocations: 71.7 kB / 1.062 GB, free: 1.023 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001283/0.2294, allocations: 107.4 kB / 1.063 GB, free: 0.918 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 3.316e-05/0.2294, allocations: 8 kB / 1.063 GB, free: 0.9102 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000277/0.2297, allocations: 199.7 kB / 1.063 GB, free: 0.7148 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001029/0.2298, allocations: 71.73 kB / 1.063 GB, free: 0.6445 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 0.000115/0.23, allocations: 148.9 kB / 1.063 GB, free: 0.4922 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.000482/0.2305, allocations: 0.518 MB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.297e-06/0.2305, allocations: 3.938 kB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.523e-06/0.2305, allocations: 0 / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.59e-06/0.2305, allocations: 4 kB / 1.064 GB, free: 15.96 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.0009408/0.2314, allocations: 0.7699 MB / 1.064 GB, free: 15.11 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.28e-05/0.2315, allocations: 8.031 kB / 1.064 GB, free: 15.1 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.2315, allocations: 50.73 kB / 1.064 GB, free: 15.04 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.76e-05/0.2316, allocations: 32.56 kB / 1.064 GB, free: 15.01 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003419/0.2319, allocations: 316.4 kB / 1.065 GB, free: 14.66 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.401e-05/0.232, allocations: 16.59 kB / 1.065 GB, free: 14.64 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.115e-05/0.232, allocations: 20.38 kB / 1.065 GB, free: 14.62 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005759/0.2326, allocations: 311 kB / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.083e-06/0.2326, allocations: 0 / 1.065 GB, free: 14.31 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.236e-05/0.2326, allocations: 8 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.264e-06/0.2326, allocations: 4 kB / 1.065 GB, free: 14.3 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006621/0.2333, allocations: 304.4 kB / 1.065 GB, free: 14 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008891/0.2342, allocations: 0.6839 MB / 1.066 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004985/0.2347, allocations: 238.6 kB / 1.066 GB, free: 13.03 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003775/0.2351, allocations: 208.7 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.357e-05/0.2351, allocations: 4 kB / 1.066 GB, free: 12.82 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.659e-05/0.2352, allocations: 30.56 kB / 1.066 GB, free: 12.78 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 1.302e-06/0.2352, allocations: 4 kB / 1.066 GB, free: 12.77 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001285/0.2365, allocations: 0.7276 MB / 1.067 GB, free: 12.02 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.151e-05/0.2365, allocations: 136.5 kB / 1.067 GB, free: 11.86 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003703/0.2369, allocations: 384.4 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.501e-05/0.2369, allocations: 29.7 kB / 1.068 GB, free: 11.45 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001057/0.237, allocations: 172.3 kB / 1.068 GB, free: 11.27 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 3.727e-05/0.2371, allocations: 39.45 kB / 1.068 GB, free: 11.23 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.2371, allocations: 25.72 kB / 1.068 GB, free: 11.2 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001212/0.2373, allocations: 350.7 kB / 1.068 GB, free: 10.85 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004222/0.2377, allocations: 251.8 kB / 1.068 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004162/0.2381, allocations: 259.8 kB / 1.069 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009101/0.239, allocations: 0.7111 MB / 1.069 GB, free: 9.586 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.124e-06/0.239, allocations: 7.938 kB / 1.069 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001076/0.2401, allocations: 0.7571 MB / 1.07 GB, free: 8.777 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001012/0.2402, allocations: 186.2 kB / 1.07 GB, free: 8.559 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.018e-06/0.2403, allocations: 4 kB / 1.07 GB, free: 8.555 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.096e-05/0.2403, allocations: 4 kB / 1.07 GB, free: 8.551 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001603/0.2404, allocations: 35.91 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.991e-06/0.2404, allocations: 4 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002087/0.2407, allocations: 59.64 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.387e-05/0.2407, allocations: 12 kB / 1.07 GB, free: 8.441 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.0001898/0.2409, allocations: 250.9 kB / 1.071 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.054e-05/0.241, allocations: 31.72 kB / 1.071 GB, free: 8.137 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.561e-05/0.241, allocations: 26.94 kB / 1.071 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.241, allocations: 4 kB / 1.071 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.533e-06/0.241, allocations: 7.984 kB / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.241, allocations: 0 / 1.071 GB, free: 8.098 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003013/0.2413, allocations: 345.2 kB / 1.071 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.2413, allocations: 4 kB / 1.071 GB, free: 7.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000154/0.2415, allocations: 31.97 kB / 1.071 GB, free: 7.676 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-05/0.2415, allocations: 3.984 kB / 1.071 GB, free: 7.672 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.673e-05/0.2415, allocations: 11.94 kB / 1.071 GB, free: 7.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.077e-06/0.2416, allocations: 11.94 kB / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.2416, allocations: 0 / 1.071 GB, free: 7.648 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009675/0.2425, allocations: 0.6406 MB / 1.072 GB, free: 6.973 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.957e-05/0.2426, allocations: 120.7 kB / 1.072 GB, free: 6.836 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.025e-05/0.2427, allocations: 12 kB / 1.072 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002112/0.2429, allocations: 31.97 kB / 1.072 GB, free: 6.793 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.904e-05/0.243, allocations: 27.97 kB / 1.072 GB, free: 6.766 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.65e-05/0.243, allocations: 8 kB / 1.072 GB, free: 6.758 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0002576/0.2433, allocations: 279 kB / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.41e-07/0.2433, allocations: 0 / 1.072 GB, free: 6.484 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0003465/0.2436, allocations: 96 kB / 1.072 GB, free: 6.391 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.001312/0.2449, allocations: 1.252 MB / 1.074 GB, free: 5.094 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.001074/0.246, allocations: 0.8711 MB / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.246, allocations: 0 / 1.074 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0005308/0.2466, allocations: 390.1 kB / 1.075 GB, free: 3.73 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003941/0.247, allocations: 73.33 kB / 1.075 GB, free: 3.66 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005458/0.2524, allocations: 4.587 MB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003388/0.2528, allocations: 0.7909 MB / 1.08 GB, free: 14.14 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 7.893e-05/0.2529, allocations: 25.89 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00011/0.253, allocations: 87.41 kB / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of SimCode: time 3.9e-07/0.253, allocations: 0 / 1.08 GB, free: 14.03 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.833/2.086, allocations: 7.948 MB / 1.088 GB, free: 6.352 MB / 0.8419 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002378/2.086, allocations: 242.8 kB / 1.088 GB, free: 6.098 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.351/4.437, allocations: 0 / 1.088 GB, free: 6.098 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