Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001347/0.001347, allocations: 110 kB / 18.93 MB, free: 2.945 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001448/0.001448, allocations: 193.5 kB / 22.23 MB, free: 5.16 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.421/1.421, allocations: 225.6 MB / 251 MB, free: 13.01 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.761/2.761, allocations: 476.7 MB / 0.7646 GB, free: 9.852 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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_11_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_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002628/0.002628, allocations: 63.89 kB / 1.11 GB, free: 6.316 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8082/0.8108, allocations: 168.8 MB / 1.274 GB, free: 4.195 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003352/0.8142, allocations: 1.503 MB / 1.276 GB, free: 2.684 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001956/0.8161, allocations: 1.201 MB / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.152e-05/0.8162, allocations: 0 / 1.277 GB, free: 1.477 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0002175/0.8164, allocations: 15.86 kB / 1.277 GB, free: 1.461 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002285/0.8167, allocations: 51.77 kB / 1.277 GB, free: 1.41 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002067/0.8169, allocations: 59.78 kB / 1.277 GB, free: 1.352 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.0002518/0.8171, allocations: 147.6 kB / 1.277 GB, free: 1.207 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001708/0.8173, allocations: 37.23 kB / 1.277 GB, free: 1.172 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001186/0.8174, allocations: 87.69 kB / 1.277 GB, free: 1.086 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002045/0.8176, allocations: 51.7 kB / 1.277 GB, free: 1.035 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 4.495e-05/0.8177, allocations: 12 kB / 1.277 GB, free: 1.023 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 9.769e-05/0.8178, allocations: 28 kB / 1.277 GB, free: 0.9961 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 0.0001099/0.8179, allocations: 51.88 kB / 1.277 GB, free: 0.9453 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 0.000105/0.818, allocations: 83.52 kB / 1.278 GB, free: 0.8633 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.000328/0.8183, allocations: 201.6 kB / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.8183, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.603e-06/0.8183, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.787e-06/0.8183, allocations: 0 / 1.278 GB, free: 0.6719 MB / 0.9669 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.0007972/0.8191, allocations: 421.4 kB / 1.278 GB, free: 236 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.8192, allocations: 8.031 kB / 1.278 GB, free: 228 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.532e-05/0.8192, allocations: 20.8 kB / 1.278 GB, free: 208 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003842/0.8196, allocations: 202.2 kB / 1.278 GB, free: 15.98 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001726/0.8198, allocations: 127.2 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.758e-05/0.8198, allocations: 4.375 kB / 1.278 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003894/0.8202, allocations: 161.6 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.054e-05/0.8202, allocations: 0 / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.582e-05/0.8202, allocations: 4 kB / 1.279 GB, free: 15.66 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.932e-05/0.8203, allocations: 8 kB / 1.279 GB, free: 15.65 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.797e-05/0.8204, allocations: 47.97 kB / 1.279 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001206/0.8216, allocations: 431.5 kB / 1.279 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.84e-05/0.8217, allocations: 34.56 kB / 1.279 GB, free: 15.1 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.74e-05/0.8217, allocations: 24.86 kB / 1.279 GB, free: 15.07 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.813e-05/0.8217, allocations: 7.984 kB / 1.279 GB, free: 15.06 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.793e-05/0.8218, allocations: 34.5 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.122e-06/0.8218, allocations: 0 / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003025/0.8221, allocations: 105.7 kB / 1.279 GB, free: 14.91 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.891e-05/0.8221, allocations: 55.41 kB / 1.279 GB, free: 14.84 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002584/0.8224, allocations: 219.7 kB / 1.28 GB, free: 14.61 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.434e-05/0.8224, allocations: 33.7 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.602e-05/0.8225, allocations: 128.1 kB / 1.28 GB, free: 14.45 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 4.473e-05/0.8226, allocations: 31.73 kB / 1.28 GB, free: 14.41 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.233e-05/0.8226, allocations: 25.72 kB / 1.28 GB, free: 14.38 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.8228, allocations: 322.8 kB / 1.28 GB, free: 14.06 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.885e-05/0.8228, allocations: 31.97 kB / 1.28 GB, free: 14.03 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.823, allocations: 102.2 kB / 1.28 GB, free: 13.89 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.8231, allocations: 138.2 kB / 1.28 GB, free: 13.72 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.8232, allocations: 4 kB / 1.28 GB, free: 13.71 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002573/0.8234, allocations: 153.3 kB / 1.281 GB, free: 13.56 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8234, allocations: 10.12 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.363e-06/0.8234, allocations: 4 kB / 1.281 GB, free: 13.55 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.208e-05/0.8235, allocations: 4 kB / 1.281 GB, free: 13.54 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001108/0.8236, allocations: 24.3 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.155e-06/0.8236, allocations: 11.94 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.831e-05/0.8237, allocations: 11.95 kB / 1.281 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.532e-05/0.8237, allocations: 8 kB / 1.281 GB, free: 13.49 MB / 0.9825 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.0001407/0.8238, allocations: 147.9 kB / 1.281 GB, free: 13.34 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.952e-05/0.8239, allocations: 15.91 kB / 1.281 GB, free: 13.32 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000245/0.8241, allocations: 107 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.8241, allocations: 7.938 kB / 1.281 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.891e-06/0.8241, allocations: 3.938 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.484e-06/0.8241, allocations: 4 kB / 1.281 GB, free: 13.19 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002632/0.8244, allocations: 208.6 kB / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.092e-06/0.8244, allocations: 0 / 1.281 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.122e-05/0.8244, allocations: 12 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8245, allocations: 0 / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.8245, allocations: 4 kB / 1.281 GB, free: 12.93 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.8245, allocations: 4 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.446e-06/0.8245, allocations: 3.938 kB / 1.281 GB, free: 12.92 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002229/0.8247, allocations: 187.4 kB / 1.281 GB, free: 12.72 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.801e-05/0.8247, allocations: 15.88 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.163e-05/0.8247, allocations: 4 kB / 1.281 GB, free: 12.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002751/0.825, allocations: 19.98 kB / 1.281 GB, free: 12.68 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.609e-05/0.825, allocations: 15.86 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.38e-05/0.8251, allocations: 7.984 kB / 1.281 GB, free: 12.66 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001628/0.8252, allocations: 160.2 kB / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9.1e-08/0.8252, allocations: 0 / 1.281 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003267/0.8256, allocations: 31.95 kB / 1.281 GB, free: 12.47 MB / 0.9825 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.0002549/0.8258, allocations: 131.8 kB / 1.282 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001956/0.826, allocations: 72.52 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.976e-06/0.826, allocations: 4.062 kB / 1.282 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.341e-05/0.826, allocations: 27.92 kB / 1.282 GB, free: 12.24 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003197/0.8264, allocations: 22.22 kB / 1.282 GB, free: 12.22 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006061/0.827, allocations: 298.6 kB / 1.282 GB, free: 11.9 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004497/0.8274, allocations: 0.7391 MB / 1.283 GB, free: 11.13 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001382/0.8276, allocations: 56.81 kB / 1.283 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.11e-05/0.8276, allocations: 23.42 kB / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of SimCode: time 3.51e-07/0.8276, allocations: 0 / 1.283 GB, free: 11.05 MB / 0.9825 GB Notification: Performance of Templates: time 0.00613/0.8337, allocations: 2.422 MB / 1.285 GB, free: 8.656 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.683545832522213]