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.001063/0.001063, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001543/0.002606, allocations: 440 kB / 10.41 MB, free: 284 kB / 10.45 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.0009972/0.0009972, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001386/0.002383, allocations: 475.6 kB / 11.79 MB, free: 2.375 MB / 13.93 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 0.9046/0.9046, allocations: 177.2 MB / 189.7 MB, free: 5.234 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09315/0.9978, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.286/2.286, allocations: 447.1 MB / 0.675 GB, free: 5.875 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2085/2.495, allocations: 146 MB / 0.8176 GB, free: 3.805 MB / 0.7917 GB " [Timeout remaining time 178] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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: 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 6.91e-07/6.91e-07, allocations: 0 / 0.819 GB, free: 2.449 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 7.114e-06/7.805e-06, allocations: 2.312 kB / 0.819 GB, free: 2.445 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.002099/0.002107, allocations: 2.173 MB / 0.8211 GB, free: 260 kB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001322/0.003429, allocations: 1.195 MB / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.874e-05/0.003528, allocations: 0 / 0.8222 GB, free: 15.05 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0002456/0.003774, allocations: 123.2 kB / 0.8224 GB, free: 14.93 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 6.847e-05/0.003842, allocations: 43.59 kB / 0.8224 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003723/0.004214, allocations: 247.4 kB / 0.8226 GB, free: 14.65 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002383/0.004453, allocations: 303.2 kB / 0.8229 GB, free: 14.35 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001619/0.004615, allocations: 62.16 kB / 0.823 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001839/0.004799, allocations: 196.2 kB / 0.8232 GB, free: 14.1 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001071/0.004906, allocations: 103.7 kB / 0.8233 GB, free: 14 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.004934, allocations: 28 kB / 0.8233 GB, free: 13.97 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002757/0.005209, allocations: 255.6 kB / 0.8235 GB, free: 13.72 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 6.468e-05/0.005274, allocations: 87.66 kB / 0.8236 GB, free: 13.63 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 6.109e-05/0.005335, allocations: 79.81 kB / 0.8237 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0003339/0.005669, allocations: 382.8 kB / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 6.893e-06/0.005676, allocations: 0 / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.02e-07/0.005676, allocations: 0 / 0.8241 GB, free: 13.18 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 6.642e-06/0.005683, allocations: 0 / 0.8241 GB, free: 13.18 MB / 0.8073 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.0006068/0.00629, allocations: 0.7509 MB / 0.8248 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.164e-05/0.006312, allocations: 11.97 kB / 0.8248 GB, free: 12.35 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.401e-05/0.006356, allocations: 36.91 kB / 0.8248 GB, free: 12.32 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.006517, allocations: 201.8 kB / 0.825 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.278e-06/0.006526, allocations: 16.66 kB / 0.8251 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.795e-05/0.006544, allocations: 20.38 kB / 0.8251 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002346/0.006779, allocations: 285.4 kB / 0.8253 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.03e-06/0.006784, allocations: 0 / 0.8253 GB, free: 11.75 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.006796, allocations: 8 kB / 0.8254 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.338e-06/0.0068, allocations: 4 kB / 0.8254 GB, free: 11.74 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001133/0.006913, allocations: 178.1 kB / 0.8255 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003827/0.007296, allocations: 367.3 kB / 0.8259 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001627/0.007459, allocations: 199.6 kB / 0.8261 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.852e-05/0.007557, allocations: 169.9 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.975e-06/0.007565, allocations: 4 kB / 0.8262 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.991e-05/0.007585, allocations: 30.56 kB / 0.8263 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=14): time 9.02e-07/0.007586, allocations: 0 / 0.8263 GB, free: 10.72 MB / 0.8073 GB Notification: Performance of matching and sorting (n=14): time 0.0003274/0.007914, allocations: 0.5126 MB / 0.8268 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.619e-05/0.00793, allocations: 55.34 kB / 0.8268 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001352/0.008065, allocations: 266.9 kB / 0.8271 GB, free: 9.809 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.008081, allocations: 33.7 kB / 0.8271 GB, free: 9.77 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.979e-05/0.008131, allocations: 145.1 kB / 0.8272 GB, free: 9.621 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.542e-05/0.008156, allocations: 39.75 kB / 0.8273 GB, free: 9.582 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.031e-05/0.008207, allocations: 53.59 kB / 0.8273 GB, free: 9.523 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.105e-05/0.008278, allocations: 338.8 kB / 0.8277 GB, free: 9.184 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001277/0.008405, allocations: 260.9 kB / 0.8279 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.008659, allocations: 250.9 kB / 0.8281 GB, free: 8.609 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.008878, allocations: 449.6 kB / 0.8286 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.008879, allocations: 0 / 0.8286 GB, free: 8.113 MB / 0.8073 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.0002833/0.009163, allocations: 0.5682 MB / 0.8291 GB, free: 7.465 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 6.651e-05/0.009229, allocations: 182.2 kB / 0.8293 GB, free: 7.25 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.204e-06/0.009231, allocations: 4 kB / 0.8293 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.7e-06/0.009237, allocations: 0 / 0.8293 GB, free: 7.246 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.864e-05/0.009296, allocations: 19.98 kB / 0.8293 GB, free: 7.227 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.356e-06/0.009299, allocations: 4 kB / 0.8293 GB, free: 7.223 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.497e-05/0.009364, allocations: 31.83 kB / 0.8294 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/0.009376, allocations: 8 kB / 0.8294 GB, free: 7.184 MB / 0.8073 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 9.445e-05/0.009471, allocations: 213.8 kB / 0.8296 GB, free: 6.945 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.378e-05/0.009504, allocations: 27.91 kB / 0.8296 GB, free: 6.918 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.287e-05/0.009527, allocations: 25.97 kB / 0.8296 GB, free: 6.891 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.223e-06/0.009528, allocations: 3.938 kB / 0.8296 GB, free: 6.887 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.364e-06/0.009531, allocations: 4 kB / 0.8296 GB, free: 6.883 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.039e-06/0.009536, allocations: 7.969 kB / 0.8296 GB, free: 6.875 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001369/0.009673, allocations: 165.7 kB / 0.8298 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.009673, allocations: 0 / 0.8298 GB, free: 6.695 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.649e-05/0.00972, allocations: 19.98 kB / 0.8298 GB, free: 6.676 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.455e-05/0.009745, allocations: 35.73 kB / 0.8298 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.009746, allocations: 0 / 0.8298 GB, free: 6.641 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.979e-06/0.009756, allocations: 4 kB / 0.8299 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.009757, allocations: 0 / 0.8299 GB, free: 6.637 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.8e-07/0.009757, allocations: 4 kB / 0.8299 GB, free: 6.633 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002488/0.01001, allocations: 486.4 kB / 0.8303 GB, free: 6.105 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.01003, allocations: 11.94 kB / 0.8303 GB, free: 6.094 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.895e-05/0.0101, allocations: 19.92 kB / 0.8303 GB, free: 6.074 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.667e-05/0.01016, allocations: 31.95 kB / 0.8304 GB, free: 6.043 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.175e-06/0.01016, allocations: 8 kB / 0.8304 GB, free: 6.035 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.01023, allocations: 100.6 kB / 0.8305 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.01023, allocations: 0 / 0.8305 GB, free: 5.938 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002165/0.01045, allocations: 111.8 kB / 0.8306 GB, free: 5.828 MB / 0.8073 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.0001601/0.01061, allocations: 152.3 kB / 0.8307 GB, free: 5.672 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003787/0.01099, allocations: 0.8007 MB / 0.8315 GB, free: 4.742 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 6.753e-06/0.011, allocations: 4 kB / 0.8315 GB, free: 4.738 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001699/0.01116, allocations: 358.9 kB / 0.8319 GB, free: 4.328 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004054/0.01157, allocations: 0.7129 MB / 0.8326 GB, free: 3.469 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001134/0.0127, allocations: 0.6382 MB / 0.8332 GB, free: 2.781 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.592e-05/0.01276, allocations: 107.9 kB / 0.8333 GB, free: 2.656 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.659e-05/0.01281, allocations: 21.56 kB / 0.8333 GB, free: 2.637 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003281/0.01313, allocations: 127.3 kB / 0.8334 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.01314, allocations: 0 / 0.8334 GB, free: 2.512 MB / 0.8073 GB Notification: Performance of Templates: time 0.007843/0.02098, allocations: 7.004 MB / 0.8403 GB, free: 11.65 MB / 0.823 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor/Buildings_latest_Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.878507171757519]