Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001914/0.001914, 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.002534/0.002534, allocations: 161.7 kB / 22.76 MB, free: 1.676 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.488/1.488, allocations: 177.1 MB / 203.1 MB, free: 5.539 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.315/3.315, 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.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.773e-06/1.773e-06, allocations: 0 / 0.8776 GB, free: 6.559 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.976e-05/4.153e-05, allocations: 2.312 kB / 0.8776 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003677/0.003719, allocations: 1.513 MB / 0.879 GB, free: 5.055 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002011/0.00573, allocations: 1.219 MB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.935e-05/0.005799, allocations: 7.938 kB / 0.8802 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001983/0.005997, allocations: 24.78 kB / 0.8803 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000222/0.006219, allocations: 43.72 kB / 0.8803 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002033/0.006423, allocations: 53.7 kB / 0.8804 GB, free: 3.711 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000238/0.006661, allocations: 151.5 kB / 0.8805 GB, free: 3.562 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.006818, allocations: 37.89 kB / 0.8805 GB, free: 3.527 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001654/0.006983, allocations: 99.8 kB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001493/0.007132, allocations: 49.16 kB / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.347e-05/0.007176, allocations: 12 kB / 0.8807 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 8.487e-05/0.007261, allocations: 27.94 kB / 0.8807 GB, free: 3.344 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 9.896e-05/0.00736, allocations: 40.67 kB / 0.8808 GB, free: 3.305 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 9.139e-05/0.007451, allocations: 51.83 kB / 0.8808 GB, free: 3.254 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000339/0.00779, allocations: 207.9 kB / 0.881 GB, free: 3.051 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.007794, allocations: 8 kB / 0.881 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.81e-07/0.007795, allocations: 1.094 kB / 0.881 GB, free: 3.043 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.007799, allocations: 3.938 kB / 0.881 GB, free: 3.039 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007931/0.008592, allocations: 422.1 kB / 0.8814 GB, free: 2.598 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.553e-05/0.008628, allocations: 17 kB / 0.8814 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.063e-05/0.008719, allocations: 20.78 kB / 0.8815 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003986/0.009117, allocations: 209 kB / 0.8817 GB, free: 2.336 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000254/0.009371, allocations: 218.2 kB / 0.8819 GB, free: 2.074 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.228e-05/0.009403, allocations: 8.375 kB / 0.8819 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004683/0.009872, allocations: 260.9 kB / 0.8821 GB, free: 1.781 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.856e-06/0.009881, allocations: 4.125 kB / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.558e-05/0.009906, allocations: 4.125 kB / 0.8821 GB, free: 1.773 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.597e-05/0.009932, allocations: 8 kB / 0.8821 GB, free: 1.766 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.756e-05/0.01003, allocations: 43.97 kB / 0.8822 GB, free: 1.723 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001067/0.0111, allocations: 386.9 kB / 0.8825 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.115e-05/0.01118, allocations: 26.58 kB / 0.8826 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.474e-05/0.01124, allocations: 28.84 kB / 0.8826 GB, free: 1.25 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.85e-05/0.01127, allocations: 4 kB / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.044e-05/0.01131, allocations: 38.55 kB / 0.8826 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 9.92e-07/0.01131, allocations: 0 / 0.8826 GB, free: 1.199 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000319/0.01163, allocations: 105.5 kB / 0.8827 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.958e-05/0.01168, allocations: 55.41 kB / 0.8828 GB, free: 1.023 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002544/0.01194, allocations: 203.9 kB / 0.883 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.661e-05/0.01197, allocations: 33.69 kB / 0.883 GB, free: 0.7656 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001151/0.01209, allocations: 128.1 kB / 0.8831 GB, free: 0.6367 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.14e-05/0.01212, allocations: 23.95 kB / 0.8832 GB, free: 0.6133 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.433e-05/0.01219, allocations: 33.7 kB / 0.8832 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001926/0.01239, allocations: 326.8 kB / 0.8835 GB, free: 252 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.691e-05/0.01245, allocations: 35.91 kB / 0.8835 GB, free: 216 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001323/0.01258, allocations: 94.3 kB / 0.8836 GB, free: 84 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002263/0.01281, allocations: 142.1 kB / 0.8838 GB, free: 15.91 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.669e-06/0.01282, allocations: 3.984 kB / 0.8838 GB, free: 15.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000294/0.01311, allocations: 161.6 kB / 0.8839 GB, free: 15.74 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.595e-05/0.01313, allocations: 8 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.117e-05/0.01314, allocations: 4 kB / 0.8839 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.11e-05/0.01316, allocations: 4 kB / 0.8839 GB, free: 15.72 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001148/0.01327, allocations: 23.92 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.835e-06/0.01328, allocations: 4 kB / 0.884 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.36e-05/0.01334, allocations: 7.953 kB / 0.884 GB, free: 15.69 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.795e-05/0.01336, allocations: 8.312 kB / 0.884 GB, free: 15.68 MB / 0.8542 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 0.0001579/0.01352, allocations: 153.6 kB / 0.8841 GB, free: 15.52 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.229e-05/0.01358, allocations: 15.91 kB / 0.8841 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002657/0.01385, allocations: 131.2 kB / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.01385, allocations: 0 / 0.8843 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.01386, allocations: 3.984 kB / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.01386, allocations: 0 / 0.8843 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002461/0.0141, allocations: 153.2 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.352e-06/0.01411, allocations: 3.938 kB / 0.8844 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.452e-05/0.01416, allocations: 15.98 kB / 0.8844 GB, free: 15.17 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.044e-05/0.01417, allocations: 7.984 kB / 0.8844 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01418, allocations: 8 kB / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.01418, allocations: 0 / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.01418, allocations: 0 / 0.8845 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.01443, allocations: 195.4 kB / 0.8846 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.679e-05/0.01446, allocations: 15.84 kB / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.01447, allocations: 0 / 0.8847 GB, free: 14.93 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002566/0.01473, allocations: 27.91 kB / 0.8847 GB, free: 14.91 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.303e-05/0.01475, allocations: 7.984 kB / 0.8847 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.01478, allocations: 15.92 kB / 0.8847 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001651/0.01495, allocations: 157.5 kB / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01495, allocations: 0 / 0.8849 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003323/0.01528, allocations: 31.95 kB / 0.8849 GB, free: 14.7 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: 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.0002812/0.01556, allocations: 122.2 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001803/0.01574, allocations: 68.53 kB / 0.8851 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.01575, allocations: 0 / 0.8851 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 4.625e-05/0.01579, allocations: 28.05 kB / 0.8851 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003467/0.01614, allocations: 32.59 kB / 0.8851 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000573/0.01671, allocations: 293.1 kB / 0.8854 GB, free: 14.13 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001357/0.01685, allocations: 118.1 kB / 0.8855 GB, free: 14 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001506/0.017, allocations: 56.81 kB / 0.8856 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.538e-05/0.01704, allocations: 20.5 kB / 0.8856 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of SimCode: time 4.01e-07/0.01704, allocations: 0 / 0.8856 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of Templates: time 0.006278/0.02332, allocations: 2.447 MB / 0.888 GB, free: 11.52 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.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: 8.16432658105623]