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.001591/0.001591, allocations: 88.72 kB / 19.44 MB, free: 356 kB / 13.93 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.00183/0.00183, allocations: 157.7 kB / 22.75 MB, free: 1.684 MB / 18.57 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.667/1.667, allocations: 177.1 MB / 203.1 MB, free: 5.59 MB / 186.7 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.352/3.352, allocations: 429.6 MB / 0.673 GB, free: 3.898 MB / 0.6355 GB " [Timeout remaining time 176] Using package Buildings with version 14.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: 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 2.524e-06/2.524e-06, allocations: 0 / 0.8776 GB, free: 6.48 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.646e-05/3.898e-05, allocations: 7.625 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.ActiveBeams.BaseClasses.Examples.ModificationFactor): time 0.004693/0.004732, allocations: 2.056 MB / 0.8796 GB, free: 4.434 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002804/0.007535, allocations: 1.135 MB / 0.8807 GB, free: 3.297 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002186/0.007754, allocations: 4 kB / 0.8807 GB, free: 3.293 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0006271/0.008381, allocations: 125.4 kB / 0.8809 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002604/0.008641, allocations: 45.25 kB / 0.8809 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001131/0.009772, allocations: 265.2 kB / 0.8812 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0006804/0.01045, allocations: 308.5 kB / 0.8815 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002077/0.01066, allocations: 63.45 kB / 0.8815 GB, free: 2.508 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002955/0.01096, allocations: 151.7 kB / 0.8817 GB, free: 2.359 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002641/0.01122, allocations: 112.4 kB / 0.8818 GB, free: 2.25 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 7.901e-05/0.0113, allocations: 28 kB / 0.8818 GB, free: 2.223 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000575/0.01187, allocations: 232.3 kB / 0.882 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 0.0001745/0.01205, allocations: 95.67 kB / 0.8821 GB, free: 1.902 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001813/0.01223, allocations: 101.3 kB / 0.8822 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.001247/0.01348, allocations: 0.6114 MB / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.019e-06/0.01348, allocations: 0 / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.843e-06/0.01348, allocations: 0 / 0.8828 GB, free: 1.191 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.088e-05/0.0135, allocations: 6.062 kB / 0.8828 GB, free: 1.188 MB / 0.8386 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.002246/0.01575, allocations: 0.7394 MB / 0.8835 GB, free: 388 kB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.679e-05/0.01581, allocations: 8.031 kB / 0.8835 GB, free: 380 kB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001841/0.01599, allocations: 48.7 kB / 0.8836 GB, free: 332 kB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005532/0.01654, allocations: 270 kB / 0.8838 GB, free: 36 kB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.763e-05/0.01657, allocations: 12.66 kB / 0.8838 GB, free: 24 kB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.942e-05/0.01661, allocations: 16.38 kB / 0.8839 GB, free: 8 kB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008284/0.01744, allocations: 382.5 kB / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.113e-05/0.01745, allocations: 0 / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.017e-05/0.01748, allocations: 8 kB / 0.8842 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.606e-06/0.01749, allocations: 4 kB / 0.8842 GB, free: 15.6 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008271/0.01832, allocations: 374.7 kB / 0.8846 GB, free: 15.22 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001312/0.01963, allocations: 0.528 MB / 0.8851 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007524/0.02038, allocations: 311.7 kB / 0.8854 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005279/0.02091, allocations: 277.8 kB / 0.8857 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.804e-05/0.02093, allocations: 0 / 0.8857 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.197e-05/0.02097, allocations: 38.56 kB / 0.8857 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=14): time 1.323e-06/0.02097, allocations: 0 / 0.8857 GB, free: 13.99 MB / 0.8542 GB Notification: Performance of matching and sorting (n=14): time 0.001758/0.02273, allocations: 0.8471 MB / 0.8865 GB, free: 13.08 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001246/0.02285, allocations: 140.5 kB / 0.8867 GB, free: 12.91 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005368/0.02339, allocations: 352.5 kB / 0.887 GB, free: 12.56 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.519e-05/0.02342, allocations: 25.7 kB / 0.887 GB, free: 12.53 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001769/0.0236, allocations: 172.5 kB / 0.8872 GB, free: 12.36 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.606e-05/0.02367, allocations: 47.62 kB / 0.8872 GB, free: 12.31 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.02379, allocations: 45.7 kB / 0.8873 GB, free: 12.26 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0002137/0.024, allocations: 342.8 kB / 0.8876 GB, free: 11.92 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000678/0.02468, allocations: 422 kB / 0.888 GB, free: 11.47 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006687/0.02535, allocations: 418.1 kB / 0.8884 GB, free: 11.02 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001173/0.02652, allocations: 0.7061 MB / 0.8891 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.637e-06/0.02652, allocations: 0 / 0.8891 GB, free: 10.26 MB / 0.8542 GB Notification: Performance of matching and sorting (n=23) (initialization): time 0.001694/0.02822, allocations: 0.9194 MB / 0.89 GB, free: 9.262 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001822/0.0284, allocations: 184.7 kB / 0.8902 GB, free: 9.047 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.194e-05/0.02841, allocations: 11.92 kB / 0.8902 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.339e-05/0.02844, allocations: 0 / 0.8902 GB, free: 9.035 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001869/0.02862, allocations: 27.97 kB / 0.8902 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.676e-06/0.02863, allocations: 0 / 0.8902 GB, free: 9.008 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002522/0.02888, allocations: 43.81 kB / 0.8903 GB, free: 8.965 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.006e-05/0.02891, allocations: 8 kB / 0.8903 GB, free: 8.957 MB / 0.8542 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.0003248/0.02924, allocations: 262.8 kB / 0.8905 GB, free: 8.672 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.755e-05/0.02934, allocations: 35.86 kB / 0.8906 GB, free: 8.637 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.841e-05/0.0294, allocations: 33.95 kB / 0.8906 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.02941, allocations: 0 / 0.8906 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.242e-06/0.02941, allocations: 0 / 0.8906 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.02942, allocations: 0 / 0.8906 GB, free: 8.602 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003607/0.02978, allocations: 237 kB / 0.8908 GB, free: 8.34 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.138e-05/0.02979, allocations: 11.98 kB / 0.8908 GB, free: 8.328 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001625/0.02995, allocations: 23.97 kB / 0.8908 GB, free: 8.305 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.079e-05/0.02996, allocations: 4 kB / 0.8908 GB, free: 8.301 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.02999, allocations: 12 kB / 0.8909 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.02999, allocations: 0 / 0.8909 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.02999, allocations: 0 / 0.8909 GB, free: 8.289 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001242/0.03123, allocations: 0.716 MB / 0.8916 GB, free: 7.52 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.373e-05/0.0313, allocations: 23.86 kB / 0.8916 GB, free: 7.496 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.726e-05/0.03134, allocations: 4 kB / 0.8916 GB, free: 7.492 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.03158, allocations: 35.95 kB / 0.8916 GB, free: 7.457 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001513/0.03173, allocations: 27.95 kB / 0.8916 GB, free: 7.43 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.151e-05/0.03175, allocations: 8 kB / 0.8917 GB, free: 7.422 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0003603/0.03211, allocations: 255 kB / 0.8919 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.03211, allocations: 0 / 0.8919 GB, free: 7.172 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000536/0.03265, allocations: 111.7 kB / 0.892 GB, free: 7.062 MB / 0.8542 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.0004653/0.03311, allocations: 163.1 kB / 0.8922 GB, free: 6.895 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.001596/0.03471, allocations: 1.089 MB / 0.8932 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.03471, allocations: 0 / 0.8932 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0006697/0.03538, allocations: 447.2 kB / 0.8937 GB, free: 5.184 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005178/0.0359, allocations: 90.92 kB / 0.8937 GB, free: 5.098 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001529/0.03743, allocations: 0.7367 MB / 0.8945 GB, free: 4.312 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002364/0.03766, allocations: 177.8 kB / 0.8946 GB, free: 4.121 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001095/0.03777, allocations: 21.64 kB / 0.8946 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.292e-05/0.03786, allocations: 20.5 kB / 0.8947 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of SimCode: time 8.12e-07/0.03786, allocations: 0 / 0.8947 GB, free: 4.082 MB / 0.8542 GB Notification: Performance of Templates: time 0.01427/0.05213, allocations: 6.291 MB / 0.9008 GB, free: 13.94 MB / 0.8698 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.41586590395309]