Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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.001302/0.001302, allocations: 80.8 kB / 20.75 MB, free: 3.734 MB / 18.57 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.00157/0.00157, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 0.9736/0.9736, allocations: 177.1 MB / 204.6 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.928/1.928, allocations: 389.6 MB / 0.6354 GB, free: 12.29 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.343e-06/1.343e-06, allocations: 0 / 0.7752 GB, free: 5.395 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.622e-05/1.756e-05, allocations: 3.062 kB / 0.7752 GB, free: 5.391 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002136/0.002154, allocations: 1.601 MB / 0.7767 GB, free: 3.801 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.003328, allocations: 1.256 MB / 0.778 GB, free: 2.543 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.722e-05/0.003395, allocations: 3.938 kB / 0.778 GB, free: 2.539 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 0.0001817/0.003577, allocations: 20.5 kB / 0.778 GB, free: 2.52 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 0.0001755/0.003752, allocations: 47 kB / 0.778 GB, free: 2.48 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001368/0.003889, allocations: 51.92 kB / 0.7781 GB, free: 2.43 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001549/0.004044, allocations: 150.8 kB / 0.7782 GB, free: 2.293 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.004151, allocations: 49.8 kB / 0.7783 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001009/0.004252, allocations: 103.8 kB / 0.7784 GB, free: 2.145 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001058/0.004358, allocations: 40.45 kB / 0.7784 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.551e-05/0.004383, allocations: 12 kB / 0.7784 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 5.816e-05/0.004441, allocations: 27.42 kB / 0.7784 GB, free: 2.07 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 5.733e-05/0.004499, allocations: 47.83 kB / 0.7785 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.004547, allocations: 51.83 kB / 0.7785 GB, free: 1.973 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001946/0.004741, allocations: 175.4 kB / 0.7787 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.755e-06/0.004744, allocations: 4 kB / 0.7787 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004745, allocations: 0 / 0.7787 GB, free: 1.797 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.017e-06/0.004749, allocations: 0 / 0.7787 GB, free: 1.797 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0004462/0.005195, allocations: 387.9 kB / 0.7791 GB, free: 1.395 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.733e-05/0.005233, allocations: 12.66 kB / 0.7791 GB, free: 1.387 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.452e-05/0.005277, allocations: 20.92 kB / 0.7791 GB, free: 1.367 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.005491, allocations: 187 kB / 0.7793 GB, free: 1.16 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001226/0.005613, allocations: 214.2 kB / 0.7795 GB, free: 0.9023 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.134e-05/0.005635, allocations: 12.36 kB / 0.7795 GB, free: 0.8906 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001948/0.005829, allocations: 192.5 kB / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.244e-06/0.005837, allocations: 192 / 0.7797 GB, free: 0.668 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.699e-05/0.005854, allocations: 12.61 kB / 0.7797 GB, free: 0.6562 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.435e-05/0.005878, allocations: 13.09 kB / 0.7797 GB, free: 0.6445 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.383e-05/0.005902, allocations: 15.98 kB / 0.7797 GB, free: 0.6289 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004205/0.006322, allocations: 271.1 kB / 0.78 GB, free: 356 kB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.469e-05/0.006357, allocations: 27.05 kB / 0.78 GB, free: 320 kB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.047e-05/0.006378, allocations: 16.84 kB / 0.78 GB, free: 300 kB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.32e-05/0.006401, allocations: 4.656 kB / 0.78 GB, free: 296 kB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.184e-05/0.006423, allocations: 35.42 kB / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of pre-optimization done (n=8): time 1.303e-06/0.006424, allocations: 0 / 0.7801 GB, free: 252 kB / 0.7292 GB Notification: Performance of matching and sorting (n=8): time 0.0001221/0.006546, allocations: 61.61 kB / 0.7801 GB, free: 184 kB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.196e-05/0.006568, allocations: 51.94 kB / 0.7802 GB, free: 120 kB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.006693, allocations: 200.2 kB / 0.7804 GB, free: 15.91 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.975e-05/0.006713, allocations: 31.42 kB / 0.7804 GB, free: 15.87 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.308e-05/0.006756, allocations: 108 kB / 0.7805 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 1.804e-05/0.006774, allocations: 27.75 kB / 0.7805 GB, free: 15.73 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.46e-05/0.006808, allocations: 33.69 kB / 0.7806 GB, free: 15.7 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 7.598e-05/0.006884, allocations: 326.8 kB / 0.7809 GB, free: 15.37 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.559e-05/0.0069, allocations: 8.672 kB / 0.7809 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.034e-05/0.00695, allocations: 86.22 kB / 0.781 GB, free: 15.24 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.949e-05/0.00704, allocations: 113.7 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.817e-06/0.007044, allocations: 3.938 kB / 0.7811 GB, free: 15.09 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001067/0.00715, allocations: 95.66 kB / 0.7812 GB, free: 14.99 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.328e-05/0.007164, allocations: 8.781 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.342e-06/0.00717, allocations: 4 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.007181, allocations: 5.094 kB / 0.7812 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.922e-05/0.007251, allocations: 27.92 kB / 0.7812 GB, free: 14.95 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.501e-06/0.007256, allocations: 7.984 kB / 0.7812 GB, free: 14.94 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.9e-05/0.007295, allocations: 9.406 kB / 0.7812 GB, free: 14.93 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.408e-06/0.007304, allocations: 4 kB / 0.7812 GB, free: 14.93 MB / 0.7448 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * 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 8.459e-05/0.007389, allocations: 124.5 kB / 0.7813 GB, free: 14.8 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.196e-05/0.007411, allocations: 12.98 kB / 0.7814 GB, free: 14.79 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001137/0.007525, allocations: 87.06 kB / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.853e-06/0.007527, allocations: 1.062 kB / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.633e-06/0.007528, allocations: 0 / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.424e-06/0.007531, allocations: 0 / 0.7814 GB, free: 14.69 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.007646, allocations: 98.28 kB / 0.7815 GB, free: 14.58 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.893e-06/0.007648, allocations: 8 kB / 0.7815 GB, free: 14.57 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.917e-05/0.007677, allocations: 16.86 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.537e-06/0.007681, allocations: 3.938 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.398e-06/0.007685, allocations: 4.938 kB / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.044e-06/0.007687, allocations: 0 / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-07/0.007688, allocations: 0 / 0.7816 GB, free: 14.55 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.445e-05/0.007772, allocations: 156.6 kB / 0.7817 GB, free: 14.38 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.486e-05/0.007787, allocations: 19.83 kB / 0.7817 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.387e-06/0.007796, allocations: 0.7188 kB / 0.7817 GB, free: 14.36 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.339e-05/0.00788, allocations: 11.98 kB / 0.7818 GB, free: 14.35 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.184e-05/0.007892, allocations: 4.688 kB / 0.7818 GB, free: 14.34 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.007907, allocations: 11.97 kB / 0.7818 GB, free: 14.33 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.876e-05/0.007946, allocations: 47.7 kB / 0.7818 GB, free: 14.29 MB / 0.7448 GB Notification: Performance of sort global known variables: time 4e-08/0.007946, allocations: 5.062 kB / 0.7818 GB, free: 14.28 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001718/0.008117, allocations: 35.89 kB / 0.7819 GB, free: 14.25 MB / 0.7448 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * 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.0001544/0.008272, allocations: 116.4 kB / 0.782 GB, free: 14.14 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 8.369e-05/0.008356, allocations: 42.17 kB / 0.782 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 2.736e-06/0.008358, allocations: 4 kB / 0.782 GB, free: 14.09 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 1.799e-05/0.008376, allocations: 25.84 kB / 0.782 GB, free: 14.06 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001571/0.008533, allocations: 17.64 kB / 0.782 GB, free: 14.05 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003261/0.008859, allocations: 272 kB / 0.7823 GB, free: 13.75 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.829e-05/0.008908, allocations: 75.33 kB / 0.7824 GB, free: 13.66 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.029e-05/0.008968, allocations: 33.56 kB / 0.7824 GB, free: 13.63 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001829/0.009151, allocations: 117 kB / 0.7825 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of SimCode: time 7.52e-07/0.009152, allocations: 0 / 0.7825 GB, free: 13.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.003975/0.01313, allocations: 2.698 MB / 0.7852 GB, free: 10.98 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.99744891282171]