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.001456/0.001456, 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.001683/0.001683, allocations: 194.6 kB / 16.25 MB, free: 6.629 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.212/1.212, 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 9.1.3-maint.9.1.x/package.mo): time 2.061/2.061, allocations: 390.3 MB / 0.6644 GB, free: 0.5664 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001235/0.001235, allocations: 59.91 kB / 0.8122 GB, free: 14.65 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4744/0.4756, allocations: 140.4 MB / 0.9493 GB, free: 9.191 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002505/0.4782, allocations: 2.148 MB / 0.9514 GB, free: 7.508 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00133/0.4795, allocations: 1.157 MB / 0.9525 GB, free: 6.605 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001057/0.4797, allocations: 7.688 kB / 0.9525 GB, free: 6.602 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.000338/0.48, allocations: 101 kB / 0.9526 GB, free: 6.535 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 9.422e-05/0.4801, allocations: 39.11 kB / 0.9526 GB, free: 6.504 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005829/0.4807, allocations: 233.4 kB / 0.9528 GB, free: 6.359 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.481, allocations: 317.8 kB / 0.9531 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001375/0.4811, allocations: 98.2 kB / 0.9532 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.711e-05/0.4812, allocations: 108.3 kB / 0.9533 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001166/0.4813, allocations: 129.3 kB / 0.9535 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 4.047e-05/0.4814, allocations: 29.38 kB / 0.9535 GB, free: 5.953 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002692/0.4817, allocations: 226.1 kB / 0.9537 GB, free: 5.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.531e-05/0.4818, allocations: 91.36 kB / 0.9538 GB, free: 5.789 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.000101/0.4819, allocations: 153.2 kB / 0.9539 GB, free: 5.672 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0004071/0.4823, allocations: 0.5483 MB / 0.9545 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.4823, allocations: 1.125 kB / 0.9545 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.202e-06/0.4823, allocations: 0 / 0.9545 GB, free: 5.27 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 7.314e-06/0.4823, allocations: 0 / 0.9545 GB, free: 5.27 MB / 0.7169 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.0008801/0.4832, allocations: 0.8079 MB / 0.9553 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.352e-05/0.4832, allocations: 10.31 kB / 0.9553 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.052e-05/0.4833, allocations: 49.2 kB / 0.9553 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.334e-05/0.4833, allocations: 32.16 kB / 0.9554 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002745/0.4836, allocations: 329.7 kB / 0.9557 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.25e-05/0.4836, allocations: 12.53 kB / 0.9557 GB, free: 4.117 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.151e-05/0.4837, allocations: 29.5 kB / 0.9557 GB, free: 4.102 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000471/0.4842, allocations: 292.2 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.4842, allocations: 1.469 kB / 0.956 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.024e-05/0.4842, allocations: 6.938 kB / 0.956 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.179e-06/0.4842, allocations: 2.938 kB / 0.956 GB, free: 3.941 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005267/0.4847, allocations: 269.5 kB / 0.9563 GB, free: 3.824 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007125/0.4855, allocations: 0.6756 MB / 0.9569 GB, free: 3.238 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004381/0.4859, allocations: 227.2 kB / 0.9571 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003185/0.4862, allocations: 194 kB / 0.9573 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.615e-05/0.4863, allocations: 1.094 kB / 0.9573 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.317e-05/0.4863, allocations: 40.78 kB / 0.9574 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.4863, allocations: 0 / 0.9574 GB, free: 2.988 MB / 0.7169 GB Notification: Performance of matching and sorting (n=14): time 0.001077/0.4874, allocations: 0.6586 MB / 0.958 GB, free: 2.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.245e-05/0.4874, allocations: 136.6 kB / 0.9581 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000314/0.4877, allocations: 384 kB / 0.9585 GB, free: 2.219 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 2.045e-05/0.4877, allocations: 32.86 kB / 0.9585 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.754e-05/0.4878, allocations: 163.9 kB / 0.9587 GB, free: 2.035 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.4879, allocations: 46.67 kB / 0.9587 GB, free: 1.996 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.618e-05/0.4879, allocations: 43.12 kB / 0.9588 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 4.864e-05/0.488, allocations: 354.2 kB / 0.9591 GB, free: 1.621 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003655/0.4884, allocations: 231.5 kB / 0.9593 GB, free: 1.527 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003514/0.4887, allocations: 245.2 kB / 0.9596 GB, free: 1.422 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007128/0.4894, allocations: 0.6803 MB / 0.9602 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4895, allocations: 0 / 0.9602 GB, free: 0.9336 MB / 0.7169 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0008442/0.4903, allocations: 0.7336 MB / 0.9609 GB, free: 488 kB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.366e-05/0.4904, allocations: 181.2 kB / 0.9611 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.508e-06/0.4904, allocations: 0 / 0.9611 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.204e-05/0.4904, allocations: 1.219 kB / 0.9611 GB, free: 284 kB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001472/0.4905, allocations: 27.06 kB / 0.9611 GB, free: 276 kB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.07e-06/0.4906, allocations: 5.188 kB / 0.9612 GB, free: 272 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001872/0.4907, allocations: 44.41 kB / 0.9612 GB, free: 248 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.485e-05/0.4908, allocations: 14.98 kB / 0.9612 GB, free: 240 kB / 0.7169 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.0001614/0.4909, allocations: 256 kB / 0.9615 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.679e-05/0.491, allocations: 30.34 kB / 0.9615 GB, free: 15.97 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.165e-05/0.4911, allocations: 33.81 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.764e-06/0.4911, allocations: 0 / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.4911, allocations: 7.938 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.355e-06/0.4911, allocations: 3.188 kB / 0.9615 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002777/0.4914, allocations: 348.7 kB / 0.9619 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.786e-06/0.4914, allocations: 5.625 kB / 0.9619 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001422/0.4915, allocations: 26.12 kB / 0.9619 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.4915, allocations: 1 kB / 0.9619 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.871e-05/0.4915, allocations: 3.812 kB / 0.9619 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.402e-06/0.4916, allocations: 1.094 kB / 0.9619 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.745e-06/0.4916, allocations: 3.984 kB / 0.9619 GB, free: 15.6 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008301/0.4924, allocations: 0.63 MB / 0.9625 GB, free: 15.17 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 6.494e-05/0.4925, allocations: 106.5 kB / 0.9626 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.527e-05/0.4925, allocations: 12.36 kB / 0.9626 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001979/0.4927, allocations: 27.31 kB / 0.9627 GB, free: 15.04 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.554e-05/0.4928, allocations: 26.16 kB / 0.9627 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.711e-05/0.4929, allocations: 4.594 kB / 0.9627 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.0002486/0.4931, allocations: 278.4 kB / 0.9629 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.4931, allocations: 0 / 0.9629 GB, free: 14.85 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.000366/0.4935, allocations: 106 kB / 0.963 GB, free: 14.83 MB / 0.7325 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.00122/0.4947, allocations: 1.215 MB / 0.9642 GB, free: 13.87 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0009887/0.4957, allocations: 0.8412 MB / 0.9651 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.4957, allocations: 1.062 kB / 0.9651 GB, free: 13.25 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0004337/0.4962, allocations: 375 kB / 0.9654 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003964/0.4966, allocations: 72.53 kB / 0.9655 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005119/0.5017, allocations: 4.503 MB / 0.9699 GB, free: 9.98 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002752/0.502, allocations: 0.7847 MB / 0.9706 GB, free: 9.23 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 8.971e-05/0.5021, allocations: 19.61 kB / 0.9707 GB, free: 9.223 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001101/0.5022, allocations: 93.77 kB / 0.9708 GB, free: 9.145 MB / 0.7325 GB Notification: Performance of SimCode: time 2.365e-06/0.5022, allocations: 4 kB / 0.9708 GB, free: 9.141 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 2.732/3.234, allocations: 8.274 MB / 0.9788 GB, free: 3.109 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003166/3.235, allocations: 242.8 kB / 0.9791 GB, free: 2.852 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.831/7.066, allocations: 0 / 0.9791 GB, free: 2.852 MB / 0.7325 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_ActiveBeams_BaseClasses_Examples_ModificationFactor_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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