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.001601/0.001601, allocations: 114.5 kB / 18.88 MB, free: 3.062 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.001722/0.001722, allocations: 194 kB / 22.17 MB, free: 5.656 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.506/1.506, allocations: 225.6 MB / 250.9 MB, free: 13.3 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.811/2.811, allocations: 476.7 MB / 0.7645 GB, free: 10.11 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.001935/0.001935, allocations: 59.91 kB / 1.109 GB, free: 6.566 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9029/0.9049, allocations: 168.7 MB / 1.274 GB, free: 4.578 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.003151/0.908, allocations: 1.519 MB / 1.276 GB, free: 3.051 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001722/0.9097, allocations: 1.193 MB / 1.277 GB, free: 1.852 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.9098, allocations: 8 kB / 1.277 GB, free: 1.844 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 0.0001971/0.91, allocations: 11.86 kB / 1.277 GB, free: 1.832 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0002036/0.9102, allocations: 43.78 kB / 1.277 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002016/0.9104, allocations: 64.52 kB / 1.277 GB, free: 1.73 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 0.000241/0.9106, allocations: 139.6 kB / 1.277 GB, free: 1.594 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001571/0.9108, allocations: 45.03 kB / 1.277 GB, free: 1.551 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.9109, allocations: 83.69 kB / 1.277 GB, free: 1.469 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001873/0.9111, allocations: 55.72 kB / 1.277 GB, free: 1.414 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 3.388e-05/0.9111, allocations: 12 kB / 1.277 GB, free: 1.402 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 8.049e-05/0.9112, allocations: 31.98 kB / 1.277 GB, free: 1.371 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.9113, allocations: 43.89 kB / 1.277 GB, free: 1.328 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 8.955e-05/0.9114, allocations: 79.52 kB / 1.277 GB, free: 1.25 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002874/0.9117, allocations: 201.8 kB / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.236e-06/0.9117, allocations: 0 / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.233e-06/0.9117, allocations: 0 / 1.277 GB, free: 1.055 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 6.602e-06/0.9117, allocations: 0 / 1.277 GB, free: 1.055 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.000771/0.9124, allocations: 0.4907 MB / 1.278 GB, free: 0.5156 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 4.199e-05/0.9125, allocations: 12.02 kB / 1.278 GB, free: 0.5039 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.867e-05/0.9126, allocations: 20.8 kB / 1.278 GB, free: 496 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003608/0.9129, allocations: 256 kB / 1.278 GB, free: 200 kB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001517/0.9131, allocations: 119.4 kB / 1.278 GB, free: 56 kB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.537e-05/0.9131, allocations: 4.375 kB / 1.278 GB, free: 52 kB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003776/0.9135, allocations: 161.7 kB / 1.278 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.077e-06/0.9135, allocations: 4 kB / 1.278 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.728e-05/0.9135, allocations: 8 kB / 1.279 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.562e-05/0.9135, allocations: 4 kB / 1.279 GB, free: 15.87 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.011e-05/0.9136, allocations: 46.72 kB / 1.279 GB, free: 15.83 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001179/0.9148, allocations: 456.5 kB / 1.279 GB, free: 15.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.727e-05/0.9149, allocations: 38.5 kB / 1.279 GB, free: 15.29 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.675e-05/0.9149, allocations: 28.78 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.233e-05/0.915, allocations: 4.156 kB / 1.279 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.538e-05/0.915, allocations: 30.56 kB / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 1.373e-06/0.915, allocations: 0 / 1.279 GB, free: 15.21 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0003026/0.9153, allocations: 113.5 kB / 1.279 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.27e-05/0.9154, allocations: 59.41 kB / 1.279 GB, free: 15.02 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002554/0.9156, allocations: 219.7 kB / 1.279 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.231e-05/0.9157, allocations: 29.64 kB / 1.279 GB, free: 14.75 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.9158, allocations: 128.1 kB / 1.28 GB, free: 14.62 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 3.885e-05/0.9158, allocations: 27.75 kB / 1.28 GB, free: 14.6 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.59e-05/0.9158, allocations: 25.7 kB / 1.28 GB, free: 14.57 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.000169/0.916, allocations: 330.8 kB / 1.28 GB, free: 14.23 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.203e-05/0.9161, allocations: 23.98 kB / 1.28 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001192/0.9162, allocations: 98.28 kB / 1.28 GB, free: 14.08 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001977/0.9164, allocations: 146.1 kB / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.214e-06/0.9164, allocations: 0 / 1.28 GB, free: 13.9 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002522/0.9166, allocations: 153.3 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.792e-05/0.9167, allocations: 4.375 kB / 1.28 GB, free: 13.74 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.9167, allocations: 8 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.858e-05/0.9167, allocations: 4 kB / 1.28 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001101/0.9168, allocations: 23.98 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.9168, allocations: 7.875 kB / 1.28 GB, free: 13.7 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.9169, allocations: 15.94 kB / 1.28 GB, free: 13.68 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.514e-05/0.9169, allocations: 8 kB / 1.28 GB, free: 13.67 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.0001433/0.917, allocations: 142.3 kB / 1.281 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.17e-05/0.9171, allocations: 15.91 kB / 1.281 GB, free: 13.51 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002527/0.9173, allocations: 123.1 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.909e-06/0.9173, allocations: 4 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.712e-06/0.9174, allocations: 3.938 kB / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.845e-06/0.9174, allocations: 0 / 1.281 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.9176, allocations: 229.6 kB / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.9176, allocations: 0 / 1.281 GB, free: 13.1 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.323e-05/0.9177, allocations: 19.98 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.9177, allocations: 0 / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.865e-06/0.9177, allocations: 0 / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.233e-06/0.9177, allocations: 4 kB / 1.281 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.9177, allocations: 3.938 kB / 1.281 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002233/0.9179, allocations: 195.3 kB / 1.281 GB, free: 12.87 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.856e-05/0.918, allocations: 89 kB / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.918, allocations: 0 / 1.281 GB, free: 12.76 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002612/0.9183, allocations: 23.97 kB / 1.281 GB, free: 12.74 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.388e-05/0.9183, allocations: 11.92 kB / 1.281 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.689e-05/0.9183, allocations: 11.97 kB / 1.281 GB, free: 12.71 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001598/0.9185, allocations: 165.5 kB / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of sort global known variables: time 8e-08/0.9185, allocations: 0 / 1.281 GB, free: 12.55 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.000307/0.9188, allocations: 31.95 kB / 1.281 GB, free: 12.52 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.000315/0.9191, allocations: 120.6 kB / 1.282 GB, free: 12.4 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001943/0.9193, allocations: 80.28 kB / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.716e-06/0.9193, allocations: 0 / 1.282 GB, free: 12.32 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.402e-05/0.9193, allocations: 27.92 kB / 1.282 GB, free: 12.29 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000327/0.9197, allocations: 18.34 kB / 1.282 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005631/0.9202, allocations: 307.4 kB / 1.282 GB, free: 11.95 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003682/0.9206, allocations: 0.7314 MB / 1.283 GB, free: 11.2 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001164/0.9207, allocations: 56.72 kB / 1.283 GB, free: 11.14 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.635e-05/0.9208, allocations: 15.44 kB / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of SimCode: time 3.8e-07/0.9208, allocations: 0 / 1.283 GB, free: 11.12 MB / 0.9825 GB Notification: Performance of Templates: time 0.006012/0.9268, allocations: 2.408 MB / 1.285 GB, free: 8.734 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 -s cvode -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/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 9.068988653831184]