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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001837/0.001837, allocations: 105.8 kB / 16.45 MB, free: 6.039 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00196/0.00196, allocations: 196.5 kB / 19.41 MB, free: 3.535 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.404/1.404, allocations: 225.6 MB / 247.8 MB, free: 13.95 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.696/2.696, allocations: 476.7 MB / 0.7611 GB, free: 11.3 MB / 0.6231 GB " [Timeout remaining time 177] 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"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.001954/0.001954, allocations: 67.89 kB / 1.104 GB, free: 9.234 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8515/0.8534, allocations: 168.7 MB / 1.269 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.003871/0.8573, allocations: 2.113 MB / 1.271 GB, free: 3.07 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002031/0.8593, allocations: 1.192 MB / 1.272 GB, free: 1.871 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001259/0.8595, allocations: 4 kB / 1.272 GB, free: 1.867 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0004505/0.8599, allocations: 109.2 kB / 1.272 GB, free: 1.762 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001198/0.86, allocations: 55.56 kB / 1.272 GB, free: 1.707 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007856/0.8608, allocations: 255.5 kB / 1.272 GB, free: 1.457 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0003873/0.8612, allocations: 299.3 kB / 1.273 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001928/0.8614, allocations: 63.06 kB / 1.273 GB, free: 1.094 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001328/0.8615, allocations: 111.6 kB / 1.273 GB, free: 0.9844 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001887/0.8617, allocations: 131.5 kB / 1.273 GB, free: 0.8555 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.758e-05/0.8618, allocations: 28 kB / 1.273 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003915/0.8622, allocations: 239.6 kB / 1.273 GB, free: 0.5938 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001208/0.8623, allocations: 91.67 kB / 1.273 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.0001573/0.8624, allocations: 147.2 kB / 1.273 GB, free: 368 kB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000742/0.8632, allocations: 0.5605 MB / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.829e-06/0.8632, allocations: 0 / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8632, allocations: 0 / 1.274 GB, free: 15.8 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.011e-05/0.8632, allocations: 7.938 kB / 1.274 GB, free: 15.79 MB / 0.9825 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.00137/0.8646, allocations: 0.8123 MB / 1.275 GB, free: 14.89 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.8646, allocations: 12.03 kB / 1.275 GB, free: 14.88 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.648e-05/0.8647, allocations: 46.73 kB / 1.275 GB, free: 14.82 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.429e-05/0.8648, allocations: 36.7 kB / 1.275 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004543/0.8652, allocations: 328.6 kB / 1.275 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.215e-05/0.8652, allocations: 12.66 kB / 1.275 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.268e-05/0.8653, allocations: 20.38 kB / 1.275 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006368/0.8659, allocations: 306.9 kB / 1.276 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.237e-06/0.8659, allocations: 0 / 1.276 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.192e-05/0.8659, allocations: 4 kB / 1.276 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.026e-05/0.866, allocations: 7.984 kB / 1.276 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000656/0.8666, allocations: 276.4 kB / 1.276 GB, free: 13.81 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001055/0.8677, allocations: 0.6647 MB / 1.276 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005437/0.8682, allocations: 218.6 kB / 1.277 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000385/0.8686, allocations: 184.7 kB / 1.277 GB, free: 12.69 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.342e-05/0.8686, allocations: 8.047 kB / 1.277 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.8687, allocations: 38.55 kB / 1.277 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=14): time 1.322e-06/0.8687, allocations: 0 / 1.277 GB, free: 12.63 MB / 0.9825 GB Notification: Performance of matching and sorting (n=14): time 0.001379/0.87, allocations: 0.6728 MB / 1.278 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001045/0.8701, allocations: 136.5 kB / 1.278 GB, free: 11.77 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004557/0.8706, allocations: 380.5 kB / 1.278 GB, free: 11.39 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.937e-05/0.8706, allocations: 29.7 kB / 1.278 GB, free: 11.36 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001358/0.8708, allocations: 172.3 kB / 1.278 GB, free: 11.18 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 5.793e-05/0.8708, allocations: 43.58 kB / 1.278 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.527e-05/0.8709, allocations: 49.7 kB / 1.278 GB, free: 11.09 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001719/0.8711, allocations: 342.8 kB / 1.279 GB, free: 10.74 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004634/0.8715, allocations: 243.8 kB / 1.279 GB, free: 10.5 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000427/0.872, allocations: 231.9 kB / 1.279 GB, free: 10.28 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001017/0.873, allocations: 0.6897 MB / 1.28 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.665e-06/0.873, allocations: 0 / 1.28 GB, free: 9.531 MB / 0.9825 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001146/0.8741, allocations: 0.7327 MB / 1.28 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001507/0.8743, allocations: 190.2 kB / 1.281 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.771e-06/0.8743, allocations: 0 / 1.281 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.8743, allocations: 0 / 1.281 GB, free: 8.535 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001672/0.8745, allocations: 27.97 kB / 1.281 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.062e-06/0.8745, allocations: 0 / 1.281 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002114/0.8747, allocations: 39.81 kB / 1.281 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.781e-05/0.8747, allocations: 12 kB / 1.281 GB, free: 8.457 MB / 0.9825 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.0002972/0.875, allocations: 271.3 kB / 1.281 GB, free: 8.164 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.457e-05/0.8751, allocations: 27.81 kB / 1.281 GB, free: 8.137 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.204e-05/0.8752, allocations: 30.94 kB / 1.281 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.8752, allocations: 3.938 kB / 1.281 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.8752, allocations: 0 / 1.281 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.8752, allocations: 0 / 1.281 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004632/0.8756, allocations: 357.2 kB / 1.281 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.8756, allocations: 0 / 1.281 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000156/0.8758, allocations: 27.97 kB / 1.281 GB, free: 7.672 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.8758, allocations: 8 kB / 1.281 GB, free: 7.664 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.301e-05/0.8758, allocations: 8 kB / 1.281 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8758, allocations: 0 / 1.281 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.8758, allocations: 0 / 1.281 GB, free: 7.656 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009969/0.8768, allocations: 0.6212 MB / 1.282 GB, free: 7 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001105/0.8769, allocations: 108.9 kB / 1.282 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.699e-05/0.877, allocations: 8 kB / 1.282 GB, free: 6.867 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002025/0.8772, allocations: 27.95 kB / 1.282 GB, free: 6.84 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001234/0.8773, allocations: 23.98 kB / 1.282 GB, free: 6.816 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.915e-05/0.8773, allocations: 7.984 kB / 1.282 GB, free: 6.809 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0003234/0.8776, allocations: 271 kB / 1.282 GB, free: 6.547 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1e-07/0.8776, allocations: 4 kB / 1.282 GB, free: 6.543 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0004397/0.8781, allocations: 111.8 kB / 1.283 GB, free: 6.434 MB / 0.9825 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.001577/0.8797, allocations: 1.221 MB / 1.284 GB, free: 5.168 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.001221/0.8809, allocations: 0.8139 MB / 1.285 GB, free: 4.281 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.8809, allocations: 3.938 kB / 1.285 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0005374/0.8814, allocations: 370 kB / 1.285 GB, free: 3.879 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004771/0.8819, allocations: 69.39 kB / 1.285 GB, free: 3.812 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006326/0.8882, allocations: 4.43 MB / 1.289 GB, free: 15.27 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004776/0.8887, allocations: 0.7792 MB / 1.29 GB, free: 14.46 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001059/0.8888, allocations: 17.95 kB / 1.29 GB, free: 14.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001479/0.889, allocations: 95.39 kB / 1.29 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of SimCode: time 1.222e-06/0.889, allocations: 0 / 1.29 GB, free: 14.35 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03511/0.9241, allocations: 8.725 MB / 1.299 GB, free: 5.852 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.175/9.099, allocations: 16.64 kB / 1.299 GB, free: 5.836 MB / 0.9981 GB " [Timeout remaining time 291] (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 --stepSize=0.0004 --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) [Timeout 420.0] 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_2/OpenModelicaLibraryTesting/files/Buildings_11_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: 15.039083359763026]