Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,fileNamePrefix="Buildings_11_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.00216/0.00216, allocations: 108 kB / 15.61 MB, free: 152 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.002112/0.002112, allocations: 198.2 kB / 16.53 MB, free: 6.664 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.245/1.245, allocations: 222.9 MB / 240.2 MB, free: 4.383 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.443/2.443, allocations: 469.8 MB / 0.7424 GB, free: 7.5 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001686/0.001686, allocations: 66.7 kB / 0.9087 GB, free: 34.26 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2291/0.2308, allocations: 159.2 MB / 1.064 GB, free: 14.21 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003106/0.234, allocations: 2.092 MB / 1.066 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.2356, allocations: 1.18 MB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.948e-05/0.2357, allocations: 4 kB / 1.067 GB, free: 10.91 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 0.0003399/0.236, allocations: 115.3 kB / 1.067 GB, free: 10.8 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 8.853e-05/0.2361, allocations: 51.52 kB / 1.067 GB, free: 10.75 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005962/0.2367, allocations: 256.9 kB / 1.068 GB, free: 10.5 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0003052/0.2371, allocations: 319.3 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.2372, allocations: 105.4 kB / 1.068 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 9.354e-05/0.2373, allocations: 95.7 kB / 1.068 GB, free: 9.988 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001495/0.2375, allocations: 135.4 kB / 1.068 GB, free: 9.855 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 3.978e-05/0.2375, allocations: 32 kB / 1.068 GB, free: 9.824 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003094/0.2378, allocations: 231.7 kB / 1.069 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 9.292e-05/0.238, allocations: 87.73 kB / 1.069 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 0.000131/0.2381, allocations: 147.2 kB / 1.069 GB, free: 9.367 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0005024/0.2386, allocations: 0.5375 MB / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.156e-06/0.2386, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.062e-06/0.2386, allocations: 0 / 1.069 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.449e-06/0.2386, allocations: 0 / 1.069 GB, free: 8.828 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.001026/0.2397, allocations: 0.8127 MB / 1.07 GB, free: 7.926 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 2.936e-05/0.2397, allocations: 8.031 kB / 1.07 GB, free: 7.918 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.23e-05/0.2397, allocations: 54.67 kB / 1.07 GB, free: 7.855 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.125e-05/0.2398, allocations: 36.47 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003587/0.2402, allocations: 328.4 kB / 1.071 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.363e-05/0.2402, allocations: 12.66 kB / 1.071 GB, free: 7.445 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2402, allocations: 16.38 kB / 1.071 GB, free: 7.43 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005508/0.2408, allocations: 299 kB / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.315e-06/0.2408, allocations: 0 / 1.071 GB, free: 7.133 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.076e-05/0.2408, allocations: 8 kB / 1.071 GB, free: 7.125 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.53e-06/0.2408, allocations: 4 kB / 1.071 GB, free: 7.121 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006247/0.2415, allocations: 272.4 kB / 1.071 GB, free: 6.855 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008545/0.2423, allocations: 0.6683 MB / 1.072 GB, free: 6.137 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004918/0.2428, allocations: 230.6 kB / 1.072 GB, free: 5.902 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000374/0.2432, allocations: 192.7 kB / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-06/0.2432, allocations: 0 / 1.072 GB, free: 5.711 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.391e-05/0.2433, allocations: 38.56 kB / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=14): time 2.595e-06/0.2433, allocations: 112 / 1.072 GB, free: 5.664 MB / 0.8262 GB Notification: Performance of matching and sorting (n=14): time 0.001271/0.2445, allocations: 0.671 MB / 1.073 GB, free: 4.969 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.555e-05/0.2446, allocations: 140.5 kB / 1.073 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003658/0.245, allocations: 380.5 kB / 1.073 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.261e-05/0.245, allocations: 25.7 kB / 1.073 GB, free: 4.395 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001106/0.2451, allocations: 168.3 kB / 1.074 GB, free: 4.227 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.218e-05/0.2452, allocations: 55.23 kB / 1.074 GB, free: 4.172 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.971e-05/0.2453, allocations: 45.83 kB / 1.074 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001316/0.2454, allocations: 342.8 kB / 1.074 GB, free: 3.777 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004249/0.2458, allocations: 243.8 kB / 1.074 GB, free: 3.539 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004037/0.2463, allocations: 240.4 kB / 1.074 GB, free: 3.305 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008975/0.2472, allocations: 0.6746 MB / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2472, allocations: 0 / 1.075 GB, free: 2.574 MB / 0.8262 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001036/0.2482, allocations: 0.7335 MB / 1.076 GB, free: 1.797 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001077/0.2483, allocations: 183.6 kB / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.416e-06/0.2483, allocations: 0 / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.2484, allocations: 0 / 1.076 GB, free: 1.582 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001545/0.2485, allocations: 31.91 kB / 1.076 GB, free: 1.551 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/0.2485, allocations: 3.984 kB / 1.076 GB, free: 1.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000189/0.2487, allocations: 47.75 kB / 1.076 GB, free: 1.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.205e-05/0.2487, allocations: 8 kB / 1.076 GB, free: 1.492 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.0002024/0.249, allocations: 262.8 kB / 1.076 GB, free: 1.207 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.08e-05/0.249, allocations: 35.61 kB / 1.076 GB, free: 1.172 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.2491, allocations: 26.94 kB / 1.076 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.286e-06/0.2491, allocations: 4 kB / 1.076 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.775e-06/0.2491, allocations: 0 / 1.076 GB, free: 1.141 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.174e-06/0.2491, allocations: 4 kB / 1.076 GB, free: 1.137 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003167/0.2494, allocations: 345.2 kB / 1.077 GB, free: 0.75 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.635e-06/0.2494, allocations: 7.938 kB / 1.077 GB, free: 0.7422 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001476/0.2496, allocations: 27.91 kB / 1.077 GB, free: 0.7148 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.2496, allocations: 4 kB / 1.077 GB, free: 0.7109 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.843e-05/0.2496, allocations: 8 kB / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.083e-06/0.2496, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2496, allocations: 0 / 1.077 GB, free: 0.7031 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008926/0.2505, allocations: 0.6139 MB / 1.077 GB, free: 56 kB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 9.045e-05/0.2506, allocations: 116.8 kB / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.038e-05/0.2507, allocations: 4 kB / 1.077 GB, free: 15.92 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002038/0.2509, allocations: 31.97 kB / 1.078 GB, free: 15.89 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.251e-05/0.251, allocations: 23.97 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.251, allocations: 4 kB / 1.078 GB, free: 15.86 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 0.0002586/0.2512, allocations: 275 kB / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2512, allocations: 0 / 1.078 GB, free: 15.59 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0003289/0.2516, allocations: 107.9 kB / 1.078 GB, free: 15.48 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.001335/0.2529, allocations: 1.223 MB / 1.079 GB, free: 14.22 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.00109/0.254, allocations: 0.8438 MB / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.254, allocations: 0 / 1.08 GB, free: 13.3 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 0.0004726/0.2545, allocations: 378 kB / 1.08 GB, free: 12.89 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003616/0.2549, allocations: 65.41 kB / 1.08 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005236/0.2601, allocations: 4.425 MB / 1.085 GB, free: 8.281 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003593/0.2605, allocations: 0.7947 MB / 1.085 GB, free: 7.461 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 6.873e-05/0.2606, allocations: 21.94 kB / 1.085 GB, free: 7.441 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001151/0.2607, allocations: 91.41 kB / 1.086 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2607, allocations: 0 / 1.086 GB, free: 7.352 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 5.801/6.062, allocations: 8.666 MB / 1.094 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.71/19.77, allocations: 6.25 kB / 1.094 GB, free: 14.89 MB / 0.8575 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches