Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.002087/0.002087, allocations: 80.98 kB / 19.18 MB, free: 2.527 MB / 14.72 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.001602/0.001602, allocations: 166.3 kB / 22.46 MB, free: 5.355 MB / 14.72 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.449/1.449, allocations: 177.1 MB / 202.8 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.885/2.885, allocations: 377.8 MB / 0.6221 GB, free: 12.6 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.232e-06/1.232e-06, allocations: 0 / 0.9814 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.198e-05/2.321e-05, allocations: 2.281 kB / 0.9814 GB, free: 10.98 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002906/0.00293, allocations: 1.51 MB / 0.9829 GB, free: 9.449 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001884/0.004814, allocations: 1.204 MB / 0.9841 GB, free: 8.238 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.9e-05/0.004863, allocations: 3.938 kB / 0.9841 GB, free: 8.234 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.0001664/0.005029, allocations: 23.8 kB / 0.9841 GB, free: 8.211 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001952/0.005224, allocations: 35.78 kB / 0.9841 GB, free: 8.176 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001919/0.005416, allocations: 67.41 kB / 0.9842 GB, free: 8.113 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.0002189/0.005635, allocations: 147.5 kB / 0.9843 GB, free: 7.969 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001269/0.005762, allocations: 33.23 kB / 0.9844 GB, free: 7.938 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001632/0.005925, allocations: 111.7 kB / 0.9845 GB, free: 7.828 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000129/0.006054, allocations: 39.89 kB / 0.9845 GB, free: 7.789 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 4.807e-05/0.006102, allocations: 16 kB / 0.9845 GB, free: 7.773 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 8.62e-05/0.006188, allocations: 31.92 kB / 0.9845 GB, free: 7.742 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 9.147e-05/0.00628, allocations: 47.83 kB / 0.9846 GB, free: 7.695 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 8.864e-05/0.006369, allocations: 51.83 kB / 0.9846 GB, free: 7.645 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0003218/0.00669, allocations: 215.4 kB / 0.9849 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 2.254e-06/0.006693, allocations: 0 / 0.9849 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.032e-06/0.006694, allocations: 0 / 0.9849 GB, free: 7.434 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.137e-06/0.006698, allocations: 0 / 0.9849 GB, free: 7.434 MB / 0.8887 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.0007149/0.007413, allocations: 425.3 kB / 0.9853 GB, free: 6.988 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.207e-05/0.007445, allocations: 12.03 kB / 0.9853 GB, free: 6.977 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.388e-05/0.007519, allocations: 20.8 kB / 0.9853 GB, free: 6.957 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003309/0.00785, allocations: 206.9 kB / 0.9855 GB, free: 6.73 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002095/0.008059, allocations: 222.2 kB / 0.9857 GB, free: 6.465 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.008078, allocations: 8.375 kB / 0.9857 GB, free: 6.457 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004357/0.008514, allocations: 260.9 kB / 0.986 GB, free: 6.172 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.008523, allocations: 4.172 kB / 0.986 GB, free: 6.168 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.487e-05/0.008548, allocations: 4.125 kB / 0.986 GB, free: 6.164 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.658e-05/0.008574, allocations: 15.98 kB / 0.986 GB, free: 6.148 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.149e-05/0.008666, allocations: 43.92 kB / 0.986 GB, free: 6.105 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001031/0.009697, allocations: 372.2 kB / 0.9864 GB, free: 5.711 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 7.772e-05/0.009775, allocations: 38.5 kB / 0.9864 GB, free: 5.664 MB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.404e-05/0.009819, allocations: 20.84 kB / 0.9864 GB, free: 5.641 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 2.241e-05/0.009841, allocations: 4 kB / 0.9864 GB, free: 5.637 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.966e-05/0.009871, allocations: 38.56 kB / 0.9865 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=8): time 1.222e-06/0.009872, allocations: 0 / 0.9865 GB, free: 5.59 MB / 0.8887 GB Notification: Performance of matching and sorting (n=8): time 0.0002923/0.01016, allocations: 109.7 kB / 0.9866 GB, free: 5.477 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.786e-05/0.0102, allocations: 51.41 kB / 0.9866 GB, free: 5.414 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002447/0.01045, allocations: 215.8 kB / 0.9868 GB, free: 5.191 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 3.463e-05/0.01048, allocations: 29.7 kB / 0.9869 GB, free: 5.156 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 9.479e-05/0.01058, allocations: 128.1 kB / 0.987 GB, free: 5.027 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.000118/0.01069, allocations: 27.73 kB / 0.987 GB, free: 5 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.318e-05/0.01075, allocations: 33.7 kB / 0.987 GB, free: 4.961 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.01091, allocations: 330.8 kB / 0.9874 GB, free: 4.629 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.827e-05/0.01097, allocations: 27.98 kB / 0.9874 GB, free: 4.602 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001365/0.01111, allocations: 102.2 kB / 0.9875 GB, free: 4.465 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001944/0.0113, allocations: 142.1 kB / 0.9876 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.0113, allocations: 0 / 0.9876 GB, free: 4.289 MB / 0.8887 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002605/0.01156, allocations: 157.2 kB / 0.9878 GB, free: 4.129 MB / 0.8887 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.01158, allocations: 8 kB / 0.9878 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.809e-06/0.01159, allocations: 384 / 0.9878 GB, free: 4.121 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.741e-05/0.0116, allocations: 8 kB / 0.9878 GB, free: 4.113 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000111/0.01171, allocations: 23.98 kB / 0.9878 GB, free: 4.09 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.076e-05/0.01173, allocations: 7.938 kB / 0.9878 GB, free: 4.082 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.198e-05/0.01179, allocations: 4 kB / 0.9878 GB, free: 4.078 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.809e-05/0.01181, allocations: 8 kB / 0.9878 GB, free: 4.07 MB / 0.8887 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.0001425/0.01195, allocations: 149.7 kB / 0.988 GB, free: 3.914 MB / 0.8887 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.436e-05/0.01201, allocations: 15.91 kB / 0.988 GB, free: 3.898 MB / 0.8887 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002438/0.01226, allocations: 123.3 kB / 0.9881 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.044e-06/0.01226, allocations: 0 / 0.9881 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.01226, allocations: 0 / 0.9881 GB, free: 3.773 MB / 0.8887 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.891e-06/0.01227, allocations: 8 kB / 0.9881 GB, free: 3.766 MB / 0.8887 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002188/0.01249, allocations: 157.2 kB / 0.9883 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.01249, allocations: 0 / 0.9883 GB, free: 3.582 MB / 0.8887 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.958e-05/0.01254, allocations: 12 kB / 0.9883 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.01254, allocations: 0 / 0.9883 GB, free: 3.57 MB / 0.8887 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.284e-05/0.01255, allocations: 7.984 kB / 0.9883 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.272e-06/0.01255, allocations: 0 / 0.9883 GB, free: 3.562 MB / 0.8887 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.01256, allocations: 4 kB / 0.9883 GB, free: 3.559 MB / 0.8887 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002241/0.01278, allocations: 187.3 kB / 0.9885 GB, free: 3.359 MB / 0.8887 GB Notification: Performance of postOpt removeConstants (simulation): time 2.533e-05/0.01281, allocations: 19.78 kB / 0.9885 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.842e-05/0.01282, allocations: 0 / 0.9885 GB, free: 3.34 MB / 0.8887 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002586/0.01308, allocations: 27.97 kB / 0.9885 GB, free: 3.312 MB / 0.8887 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.01311, allocations: 8 kB / 0.9885 GB, free: 3.305 MB / 0.8887 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.015e-05/0.01314, allocations: 15.97 kB / 0.9885 GB, free: 3.289 MB / 0.8887 GB Notification: Performance of sorting global known variables: time 0.000156/0.01329, allocations: 157.5 kB / 0.9887 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of sort global known variables: time 1.01e-07/0.01329, allocations: 0 / 0.9887 GB, free: 3.137 MB / 0.8887 GB Notification: Performance of remove unused functions: time 0.0003107/0.01361, allocations: 31.89 kB / 0.9887 GB, free: 3.105 MB / 0.8887 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.0002654/0.01387, allocations: 131 kB / 0.9888 GB, free: 2.977 MB / 0.8887 GB Notification: Performance of simCode: created initialization part: time 0.0001726/0.01404, allocations: 75.81 kB / 0.9889 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01405, allocations: 0 / 0.9889 GB, free: 2.902 MB / 0.8887 GB Notification: Performance of simCode: created simulation system equations: time 4.474e-05/0.01409, allocations: 27.92 kB / 0.9889 GB, free: 2.875 MB / 0.8887 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003063/0.0144, allocations: 22.25 kB / 0.989 GB, free: 2.855 MB / 0.8887 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005283/0.01492, allocations: 294 kB / 0.9892 GB, free: 2.543 MB / 0.8887 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001297/0.01505, allocations: 122.2 kB / 0.9893 GB, free: 2.402 MB / 0.8887 GB Notification: Performance of simCode: alias equations: time 0.0001179/0.01517, allocations: 52.81 kB / 0.9894 GB, free: 2.352 MB / 0.8887 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.272e-05/0.01521, allocations: 16.5 kB / 0.9894 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of SimCode: time 4.01e-07/0.01522, allocations: 0 / 0.9894 GB, free: 2.332 MB / 0.8887 GB Notification: Performance of Templates: time 0.006397/0.02161, allocations: 2.459 MB / 0.9918 GB, free: 15.91 MB / 0.9044 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.994641277939081]