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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001402/0.001402, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001652/0.001652, allocations: 210.3 kB / 22.24 MB, free: 5.262 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.63/1.63, allocations: 230.6 MB / 256 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.628/3.628, allocations: 0.5107 GB / 0.8158 GB, free: 17.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002246/0.002246, allocations: 71.81 kB / 1.186 GB, free: 13.64 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4879/0.4902, allocations: 181.9 MB / 1.363 GB, free: 14.06 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004258/0.4944, allocations: 2.033 MB / 1.365 GB, free: 12.01 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.002316/0.4968, allocations: 1.145 MB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000132/0.4969, allocations: 4 kB / 1.367 GB, free: 10.86 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0005094/0.4974, allocations: 111.6 kB / 1.367 GB, free: 10.75 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 0.000131/0.4975, allocations: 51.52 kB / 1.367 GB, free: 10.7 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0009203/0.4985, allocations: 261.5 kB / 1.367 GB, free: 10.45 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 0.0004301/0.4989, allocations: 303.2 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000203/0.4991, allocations: 67.44 kB / 1.367 GB, free: 10.08 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001785/0.4993, allocations: 99.7 kB / 1.367 GB, free: 9.984 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002124/0.4995, allocations: 127.4 kB / 1.367 GB, free: 9.859 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 5.758e-05/0.4995, allocations: 32 kB / 1.368 GB, free: 9.828 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004653/0.5, allocations: 231.7 kB / 1.368 GB, free: 9.602 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 0.0001398/0.5001, allocations: 91.73 kB / 1.368 GB, free: 9.512 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 0.0001521/0.5003, allocations: 119.4 kB / 1.368 GB, free: 9.395 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.000798/0.5011, allocations: 0.5644 MB / 1.369 GB, free: 8.828 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 8.045e-06/0.5011, allocations: 4 kB / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.916e-06/0.5011, allocations: 0 / 1.369 GB, free: 8.824 MB / 1.061 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.5011, allocations: 0 / 1.369 GB, free: 8.824 MB / 1.061 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.001515/0.5026, allocations: 0.7408 MB / 1.369 GB, free: 8.012 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 6.532e-05/0.5027, allocations: 12.03 kB / 1.369 GB, free: 8 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.826e-05/0.5028, allocations: 50.73 kB / 1.369 GB, free: 7.941 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.68e-05/0.5028, allocations: 36.7 kB / 1.369 GB, free: 7.906 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004993/0.5033, allocations: 270.7 kB / 1.37 GB, free: 7.617 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.703e-05/0.5034, allocations: 20.41 kB / 1.37 GB, free: 7.598 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.641e-05/0.5034, allocations: 16 kB / 1.37 GB, free: 7.582 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007048/0.5041, allocations: 379.8 kB / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.5041, allocations: 0 / 1.37 GB, free: 7.188 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.26e-05/0.5042, allocations: 4 kB / 1.37 GB, free: 7.184 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.457e-05/0.5042, allocations: 8 kB / 1.37 GB, free: 7.176 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007568/0.5049, allocations: 361.5 kB / 1.37 GB, free: 6.805 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001066/0.506, allocations: 0.578 MB / 1.371 GB, free: 6.184 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006485/0.5066, allocations: 311.7 kB / 1.371 GB, free: 5.852 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004862/0.5071, allocations: 277.8 kB / 1.371 GB, free: 5.559 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.856e-05/0.5071, allocations: 3.938 kB / 1.371 GB, free: 5.555 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.062e-05/0.5072, allocations: 38.56 kB / 1.372 GB, free: 5.508 MB / 1.061 GB Notification: Performance of pre-optimization done (n=14): time 1.463e-06/0.5072, allocations: 4 kB / 1.372 GB, free: 5.504 MB / 1.061 GB Notification: Performance of matching and sorting (n=14): time 0.001701/0.5089, allocations: 0.8388 MB / 1.372 GB, free: 4.605 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001367/0.509, allocations: 140.5 kB / 1.372 GB, free: 4.438 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004878/0.5095, allocations: 380.5 kB / 1.373 GB, free: 4.055 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 3.588e-05/0.5096, allocations: 29.7 kB / 1.373 GB, free: 4.02 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001505/0.5097, allocations: 172.4 kB / 1.373 GB, free: 3.848 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 5.801e-05/0.5098, allocations: 43.64 kB / 1.373 GB, free: 3.805 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.687e-05/0.5099, allocations: 45.7 kB / 1.373 GB, free: 3.754 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001813/0.51, allocations: 342.8 kB / 1.373 GB, free: 3.41 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000596/0.5106, allocations: 426 kB / 1.374 GB, free: 2.957 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005835/0.5112, allocations: 422.1 kB / 1.374 GB, free: 2.508 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001063/0.5123, allocations: 0.6968 MB / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.5123, allocations: 0 / 1.375 GB, free: 1.754 MB / 1.061 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001397/0.5137, allocations: 0.921 MB / 1.376 GB, free: 0.7539 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001415/0.5138, allocations: 182.2 kB / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.993e-06/0.5138, allocations: 0 / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.403e-05/0.5139, allocations: 0 / 1.376 GB, free: 0.5391 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001945/0.514, allocations: 31.91 kB / 1.376 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.655e-06/0.5141, allocations: 112 / 1.376 GB, free: 0.5078 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002395/0.5143, allocations: 63.62 kB / 1.376 GB, free: 456 kB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.87e-05/0.5143, allocations: 8 kB / 1.376 GB, free: 448 kB / 1.061 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.0002945/0.5146, allocations: 254.9 kB / 1.376 GB, free: 164 kB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.765e-05/0.5147, allocations: 31.81 kB / 1.376 GB, free: 132 kB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.561e-05/0.5147, allocations: 30.86 kB / 1.376 GB, free: 92 kB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.228e-06/0.5148, allocations: 4 kB / 1.376 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.464e-06/0.5148, allocations: 0 / 1.376 GB, free: 88 kB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.275e-06/0.5148, allocations: 3.938 kB / 1.376 GB, free: 84 kB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004183/0.5152, allocations: 280.7 kB / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.5152, allocations: 0 / 1.377 GB, free: 15.77 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001615/0.5154, allocations: 27.97 kB / 1.377 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.004e-06/0.5154, allocations: 0 / 1.377 GB, free: 15.74 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.628e-05/0.5154, allocations: 8 kB / 1.377 GB, free: 15.73 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.358e-06/0.5154, allocations: 7.922 kB / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.5154, allocations: 0 / 1.377 GB, free: 15.72 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001197/0.5166, allocations: 0.7161 MB / 1.377 GB, free: 14.95 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.402e-05/0.5167, allocations: 31.75 kB / 1.377 GB, free: 14.92 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.406e-05/0.5167, allocations: 7.984 kB / 1.377 GB, free: 14.91 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002193/0.5169, allocations: 27.97 kB / 1.377 GB, free: 14.89 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001504/0.5171, allocations: 27.97 kB / 1.377 GB, free: 14.86 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.012e-05/0.5171, allocations: 11.94 kB / 1.378 GB, free: 14.85 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003503/0.5174, allocations: 283 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/0.5175, allocations: 4 kB / 1.378 GB, free: 14.57 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0005045/0.518, allocations: 99.88 kB / 1.378 GB, free: 14.47 MB / 1.076 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.001829/0.5198, allocations: 1.304 MB / 1.379 GB, free: 13.11 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.001511/0.5213, allocations: 1.092 MB / 1.38 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.5213, allocations: 0 / 1.38 GB, free: 11.89 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.5219, allocations: 455.2 kB / 1.381 GB, free: 11.39 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004873/0.5224, allocations: 65.88 kB / 1.381 GB, free: 11.32 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007409/0.5298, allocations: 5.291 MB / 1.386 GB, free: 5.75 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002266/0.53, allocations: 174.2 kB / 1.386 GB, free: 5.562 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001214/0.5302, allocations: 33.86 kB / 1.386 GB, free: 5.527 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001641/0.5303, allocations: 91.34 kB / 1.386 GB, free: 5.438 MB / 1.076 GB Notification: Performance of SimCode: time 1.042e-06/0.5303, allocations: 0 / 1.386 GB, free: 5.438 MB / 1.076 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04154/0.5719, allocations: 9.774 MB / 1.396 GB, free: 11.93 MB / 1.092 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.23/12.8, allocations: 1.625 kB / 1.396 GB, free: 11.93 MB / 1.092 GB " [Timeout remaining time 287] (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 --stepSize=0.0004 --timeout=800 --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) [Timeout 840.0] 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) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 20.63049038173631]