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) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001901/0.001901, allocations: 113.9 kB / 18.94 MB, free: 2.93 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.002162/0.002162, allocations: 188.7 kB / 22.22 MB, free: 5.102 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.514/1.514, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.1 MB
"
[Timeout remaining time 178]
loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo", uses=false) [Timeout 180]
"Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-master/package.mo): time 3.403/3.403, allocations: 0.4893 GB / 0.7884 GB, free: 33.29 MB / 0.6231 GB
"
[Timeout remaining time 176]
Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-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: translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor")
translateModel(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|mod.TWat|mod.TRoo|mod.mWat_flow|mod.mAir_flow|mod.y",fileNamePrefix="Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor") [Timeout 300]
"Notification: Performance of FrontEnd - loaded program: time 0.002027/0.002027, allocations: 66.58 kB / 1.145 GB, free: 30.64 MB / 0.9044 GB
Notification: Performance of FrontEnd - Absyn->SCode: time 0.4086/0.4107, allocations: 174.9 MB / 1.316 GB, free: 9.66 MB / 1.014 GB
Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004018/0.4147, allocations: 2.111 MB / 1.318 GB, free: 7.539 MB / 1.014 GB
Notification: Performance of NFInst.instExpressions: time 0.002222/0.4169, allocations: 1.2 MB / 1.319 GB, free: 6.332 MB / 1.014 GB
Notification: Performance of NFInst.updateImplicitVariability: time 0.0001328/0.417, allocations: 4 kB / 1.319 GB, free: 6.328 MB / 1.014 GB
Notification: Performance of NFTyping.typeComponents: time 0.0005124/0.4176, allocations: 123.2 kB / 1.319 GB, free: 6.207 MB / 1.014 GB
Notification: Performance of NFTyping.typeBindings: time 0.0001189/0.4177, allocations: 47.58 kB / 1.319 GB, free: 6.16 MB / 1.014 GB
Notification: Performance of NFTyping.typeClassSections: time 0.0007977/0.4185, allocations: 263.5 kB / 1.32 GB, free: 5.902 MB / 1.014 GB
Notification: Performance of NFFlatten.flatten: time 0.000396/0.4189, allocations: 303.2 kB / 1.32 GB, free: 5.605 MB / 1.014 GB
Notification: Performance of NFFlatten.resolveConnections: time 0.00019/0.4191, allocations: 71.2 kB / 1.32 GB, free: 5.535 MB / 1.014 GB
Notification: Performance of NFEvalConstants.evaluate: time 0.0001554/0.4192, allocations: 111.6 kB / 1.32 GB, free: 5.426 MB / 1.014 GB
Notification: Performance of NFSimplifyModel.simplify: time 0.0002141/0.4194, allocations: 135.4 kB / 1.32 GB, free: 5.293 MB / 1.014 GB
Notification: Performance of NFPackage.collectConstants: time 5.8e-05/0.4195, allocations: 32 kB / 1.32 GB, free: 5.262 MB / 1.014 GB
Notification: Performance of NFFlatten.collectFunctions: time 0.0004597/0.4199, allocations: 251.7 kB / 1.321 GB, free: 5.016 MB / 1.014 GB
Notification: Performance of NFScalarize.scalarize: time 0.0001401/0.4201, allocations: 91.73 kB / 1.321 GB, free: 4.926 MB / 1.014 GB
Notification: Performance of NFVerifyModel.verify: time 0.0001907/0.4203, allocations: 155.1 kB / 1.321 GB, free: 4.773 MB / 1.014 GB
Notification: Performance of NFConvertDAE.convert: time 0.0008102/0.4211, allocations: 0.5605 MB / 1.321 GB, free: 4.211 MB / 1.014 GB
Notification: Performance of FrontEnd - DAE generated: time 7.194e-06/0.4211, allocations: 0 / 1.321 GB, free: 4.211 MB / 1.014 GB
Notification: Performance of FrontEnd: time 1.743e-06/0.4211, allocations: 0 / 1.321 GB, free: 4.211 MB / 1.014 GB
Notification: Performance of Transformations before backend: time 1.093e-05/0.4211, allocations: 0 / 1.321 GB, free: 4.211 MB / 1.014 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.001445/0.4225, allocations: 0.7369 MB / 1.322 GB, free: 3.402 MB / 1.014 GB
Notification: Performance of prepare preOptimizeDAE: time 4.387e-05/0.4226, allocations: 16.03 kB / 1.322 GB, free: 3.387 MB / 1.014 GB
Notification: Performance of preOpt normalInlineFunction (simulation): time 9.075e-05/0.4227, allocations: 36.7 kB / 1.322 GB, free: 3.352 MB / 1.014 GB
Notification: Performance of preOpt evaluateParameters (simulation): time 0.000449/0.4231, allocations: 262.8 kB / 1.322 GB, free: 3.07 MB / 1.014 GB
Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.388e-05/0.4232, allocations: 16.64 kB / 1.322 GB, free: 3.055 MB / 1.014 GB
Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.4232, allocations: 16.38 kB / 1.322 GB, free: 3.039 MB / 1.014 GB
Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006886/0.4239, allocations: 295.8 kB / 1.323 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of preOpt findStateOrder (simulation): time 1.083e-05/0.4239, allocations: 0 / 1.323 GB, free: 2.746 MB / 1.014 GB
Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.785e-05/0.4239, allocations: 12 kB / 1.323 GB, free: 2.734 MB / 1.014 GB
Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.815e-06/0.4239, allocations: 4 kB / 1.323 GB, free: 2.73 MB / 1.014 GB
Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007131/0.4246, allocations: 268.4 kB / 1.323 GB, free: 2.469 MB / 1.014 GB
Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001054/0.4257, allocations: 0.6404 MB / 1.324 GB, free: 1.785 MB / 1.014 GB
Notification: Performance of preOpt comSubExp (simulation): time 0.0005765/0.4263, allocations: 226.5 kB / 1.324 GB, free: 1.555 MB / 1.014 GB
Notification: Performance of preOpt resolveLoops (simulation): time 0.0004211/0.4267, allocations: 184.7 kB / 1.324 GB, free: 1.371 MB / 1.014 GB
Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.4267, allocations: 4 kB / 1.324 GB, free: 1.367 MB / 1.014 GB
Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.393e-05/0.4267, allocations: 30.56 kB / 1.324 GB, free: 1.328 MB / 1.014 GB
Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.4267, allocations: 0 / 1.324 GB, free: 1.328 MB / 1.014 GB
Notification: Performance of matching and sorting (n=14): time 0.001518/0.4283, allocations: 0.6767 MB / 1.325 GB, free: 0.6289 MB / 1.014 GB
Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001003/0.4284, allocations: 140.5 kB / 1.325 GB, free: 472 kB / 1.014 GB
Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004641/0.4288, allocations: 384.5 kB / 1.325 GB, free: 76 kB / 1.014 GB
Notification: Performance of collectPreVariables (initialization): time 3.583e-05/0.4289, allocations: 29.7 kB / 1.325 GB, free: 40 kB / 1.014 GB
Notification: Performance of collectInitialEqns (initialization): time 0.0001616/0.429, allocations: 168.4 kB / 1.325 GB, free: 15.87 MB / 1.029 GB
Notification: Performance of collectInitialBindings (initialization): time 5.062e-05/0.4291, allocations: 39.64 kB / 1.325 GB, free: 15.83 MB / 1.029 GB
Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.4292, allocations: 49.7 kB / 1.325 GB, free: 15.78 MB / 1.029 GB
Notification: Performance of setup shared object (initialization): time 0.0001732/0.4294, allocations: 342.8 kB / 1.326 GB, free: 15.43 MB / 1.029 GB
Notification: Performance of preBalanceInitialSystem (initialization): time 0.000494/0.4299, allocations: 239.8 kB / 1.326 GB, free: 15.2 MB / 1.029 GB
Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004875/0.4303, allocations: 246.3 kB / 1.326 GB, free: 14.96 MB / 1.029 GB
Notification: Performance of analyzeInitialSystem (initialization): time 0.001074/0.4314, allocations: 0.6718 MB / 1.327 GB, free: 14.23 MB / 1.029 GB
Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.4314, allocations: 0 / 1.327 GB, free: 14.23 MB / 1.029 GB
Notification: Performance of matching and sorting (n=23) (initialization): time 0.00123/0.4326, allocations: 0.736 MB / 1.328 GB, free: 13.45 MB / 1.029 GB
Notification: Performance of prepare postOptimizeDAE: time 0.0001523/0.4328, allocations: 186.2 kB / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.173e-06/0.4328, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (initialization): time 1.897e-05/0.4328, allocations: 0 / 1.328 GB, free: 13.23 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001803/0.433, allocations: 27.97 kB / 1.328 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.943e-06/0.433, allocations: 0 / 1.328 GB, free: 13.21 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002294/0.4332, allocations: 51.86 kB / 1.328 GB, free: 13.16 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.4333, allocations: 11.94 kB / 1.328 GB, free: 13.14 MB / 1.029 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.0002598/0.4335, allocations: 258.8 kB / 1.328 GB, free: 12.86 MB / 1.029 GB
Notification: Performance of postOpt lateInlineFunction (simulation): time 6.411e-05/0.4336, allocations: 31.81 kB / 1.328 GB, free: 12.83 MB / 1.029 GB
Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.87e-05/0.4337, allocations: 30.88 kB / 1.328 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.276e-06/0.4337, allocations: 0 / 1.328 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of postOpt constantLinearSystem (simulation): time 6.663e-06/0.4337, allocations: 0 / 1.328 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.677e-06/0.4337, allocations: 4 kB / 1.328 GB, free: 12.79 MB / 1.029 GB
Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000406/0.4341, allocations: 324.4 kB / 1.328 GB, free: 12.43 MB / 1.029 GB
Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.282e-06/0.4341, allocations: 3.938 kB / 1.328 GB, free: 12.42 MB / 1.029 GB
Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001683/0.4342, allocations: 31.97 kB / 1.329 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4343, allocations: 0 / 1.329 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.246e-05/0.4343, allocations: 4 kB / 1.329 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.573e-06/0.4343, allocations: 0 / 1.329 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.4343, allocations: 0 / 1.329 GB, free: 12.39 MB / 1.029 GB
Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001112/0.4354, allocations: 0.6212 MB / 1.329 GB, free: 11.73 MB / 1.029 GB
Notification: Performance of postOpt removeConstants (simulation): time 6.566e-05/0.4355, allocations: 35.75 kB / 1.329 GB, free: 11.7 MB / 1.029 GB
Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.876e-05/0.4355, allocations: 4 kB / 1.329 GB, free: 11.69 MB / 1.029 GB
Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002356/0.4357, allocations: 35.95 kB / 1.329 GB, free: 11.66 MB / 1.029 GB
Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001281/0.4359, allocations: 23.97 kB / 1.329 GB, free: 11.63 MB / 1.029 GB
Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.808e-05/0.4359, allocations: 11.98 kB / 1.329 GB, free: 11.62 MB / 1.029 GB
Notification: Performance of sorting global known variables: time 0.0003091/0.4362, allocations: 275 kB / 1.329 GB, free: 11.36 MB / 1.029 GB
Notification: Performance of sort global known variables: time 7e-08/0.4362, allocations: 0 / 1.329 GB, free: 11.36 MB / 1.029 GB
Notification: Performance of remove unused functions: time 0.0004685/0.4367, allocations: 111.8 kB / 1.33 GB, free: 11.25 MB / 1.029 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.0003159/0.437, allocations: 151.6 kB / 1.33 GB, free: 11.09 MB / 1.029 GB
Notification: Performance of simCode: created initialization part: time 0.001299/0.4383, allocations: 0.8242 MB / 1.331 GB, free: 10.19 MB / 1.029 GB
Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.4383, allocations: 0 / 1.331 GB, free: 10.19 MB / 1.029 GB
Notification: Performance of simCode: created simulation system equations: time 0.0005731/0.4389, allocations: 366.1 kB / 1.331 GB, free: 9.797 MB / 1.029 GB
Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004737/0.4393, allocations: 71.06 kB / 1.331 GB, free: 9.73 MB / 1.029 GB
Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001171/0.4405, allocations: 0.6513 MB / 1.332 GB, free: 9.055 MB / 1.029 GB
Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004926/0.441, allocations: 0.7831 MB / 1.332 GB, free: 8.246 MB / 1.029 GB
Notification: Performance of simCode: alias equations: time 8.636e-05/0.4411, allocations: 21.95 kB / 1.332 GB, free: 8.227 MB / 1.029 GB
Notification: Performance of simCode: all other stuff during SimCode phase: time 5.93e-05/0.4411, allocations: 23.44 kB / 1.332 GB, free: 8.203 MB / 1.029 GB
Notification: Performance of SimCode: time 3.21e-07/0.4411, allocations: 0 / 1.332 GB, free: 8.203 MB / 1.029 GB
Notification: Performance of Templates: time 0.01223/0.4534, allocations: 6.076 MB / 1.338 GB, free: 2.227 MB / 1.029 GB
"
[Timeout remaining time 300]
make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.makefile [Timeout 300]
(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 & ./Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor  -abortSlowSimulation -alarm=800  -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 800]
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/jenkins/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: 9.759891104884446]