Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.001367/0.001367, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001525/0.001525, allocations: 209.5 kB / 22.99 MB, free: 4.957 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.532/1.532, allocations: 230.6 MB / 256.8 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.2/3.2, allocations: 0.49 GB / 0.7959 GB, free: 35.54 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") translateModel(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00204/0.00204, allocations: 72.67 kB / 1.155 GB, free: 25.45 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4013/0.4034, allocations: 176.1 MB / 1.327 GB, free: 1.141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.003431/0.4068, allocations: 1.396 MB / 1.328 GB, free: 15.74 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0002094/0.407, allocations: 39.83 kB / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.073e-05/0.4071, allocations: 0 / 1.328 GB, free: 15.7 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001961/0.4073, allocations: 15.94 kB / 1.328 GB, free: 15.68 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001403/0.4074, allocations: 15.91 kB / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.91e-06/0.4074, allocations: 0 / 1.328 GB, free: 15.67 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.013e-05/0.4075, allocations: 15.88 kB / 1.329 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 6.721e-05/0.4075, allocations: 11.98 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.4076, allocations: 4 kB / 1.329 GB, free: 15.64 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.628e-05/0.4076, allocations: 3.938 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.956e-05/0.4077, allocations: 4 kB / 1.329 GB, free: 15.63 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.052e-05/0.4077, allocations: 15.98 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 5.033e-05/0.4078, allocations: 3.984 kB / 1.329 GB, free: 15.61 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.376e-05/0.4078, allocations: 7.938 kB / 1.329 GB, free: 15.6 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001313/0.4079, allocations: 39.84 kB / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.498e-06/0.4079, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.863e-06/0.4079, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.61e-06/0.4079, allocations: 0 / 1.329 GB, free: 15.56 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004105/0.4084, allocations: 262.2 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4084, allocations: 8.031 kB / 1.329 GB, free: 15.27 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.089e-05/0.4084, allocations: 4.891 kB / 1.329 GB, free: 15.26 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002002/0.4086, allocations: 130.4 kB / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.062e-05/0.4086, allocations: 384 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.616e-06/0.4087, allocations: 384 / 1.329 GB, free: 15.11 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.8e-05/0.4088, allocations: 34.27 kB / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4088, allocations: 192 / 1.329 GB, free: 15.07 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.324e-05/0.4088, allocations: 7.938 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.558e-05/0.4088, allocations: 4 kB / 1.329 GB, free: 15.06 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.435e-05/0.4088, allocations: 4 kB / 1.329 GB, free: 15.05 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001628/0.409, allocations: 105.3 kB / 1.329 GB, free: 14.92 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.424e-05/0.409, allocations: 22.45 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.808e-05/0.4091, allocations: 8.922 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.284e-05/0.4091, allocations: 0 / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.979e-05/0.4091, allocations: 30.56 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 7.71e-07/0.4091, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001454/0.4093, allocations: 49.58 kB / 1.329 GB, free: 14.78 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.685e-05/0.4093, allocations: 55.41 kB / 1.329 GB, free: 14.71 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001344/0.4094, allocations: 117.8 kB / 1.329 GB, free: 14.59 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.632e-05/0.4095, allocations: 25.7 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.76e-05/0.4095, allocations: 84.14 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-05/0.4095, allocations: 4 kB / 1.33 GB, free: 14.47 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.579e-05/0.4096, allocations: 13.7 kB / 1.33 GB, free: 14.45 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001351/0.4097, allocations: 310.8 kB / 1.33 GB, free: 14.14 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.412e-05/0.4097, allocations: 8 kB / 1.33 GB, free: 14.13 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.347e-06/0.4097, allocations: 4.125 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.685e-05/0.4098, allocations: 8.859 kB / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.4098, allocations: 0 / 1.33 GB, free: 14.11 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.73e-05/0.4098, allocations: 45.64 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.518e-05/0.4098, allocations: 4 kB / 1.33 GB, free: 14.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.4098, allocations: 4 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.835e-05/0.4099, allocations: 3.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.83e-05/0.4099, allocations: 3.938 kB / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.4099, allocations: 0 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.379e-05/0.4099, allocations: 96 / 1.33 GB, free: 14.05 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.116e-06/0.4099, allocations: 8 kB / 1.33 GB, free: 14.04 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (1): * Single equations (assignments): 1 * 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.666e-05/0.41, allocations: 109.8 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.159e-05/0.41, allocations: 7.938 kB / 1.33 GB, free: 13.91 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001053/0.4101, allocations: 41.16 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.971e-06/0.4101, allocations: 7.938 kB / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.098e-06/0.4102, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.4102, allocations: 0 / 1.33 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.904e-05/0.4103, allocations: 105.3 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4103, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.232e-05/0.4103, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.226e-06/0.4103, allocations: 8.031 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-06/0.4103, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.045e-06/0.4103, allocations: 3.938 kB / 1.33 GB, free: 13.7 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.132e-06/0.4103, allocations: 11.86 kB / 1.33 GB, free: 13.69 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.285e-05/0.4104, allocations: 61.09 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.171e-05/0.4104, allocations: 4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.274e-05/0.4104, allocations: 0 / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.174e-05/0.4104, allocations: 4 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.547e-05/0.4104, allocations: 7.922 kB / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-06/0.4104, allocations: 0 / 1.33 GB, free: 13.6 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.985e-05/0.4105, allocations: 95.31 kB / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4105, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000187/0.4107, allocations: 0 / 1.33 GB, free: 13.5 MB / 1.029 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 (1): * Single equations (assignments): 1 * 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.0002673/0.4109, allocations: 124.4 kB / 1.33 GB, free: 13.38 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.346e-05/0.411, allocations: 11.94 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.411, allocations: 64 / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 8.617e-06/0.411, allocations: 4 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001538/0.4112, allocations: 5.719 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003004/0.4115, allocations: 113.6 kB / 1.331 GB, free: 13.22 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.488e-05/0.4116, allocations: 59.34 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 8.492e-05/0.4116, allocations: 7.984 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.137e-05/0.4117, allocations: 11.38 kB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.4117, allocations: 0 / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of Templates: time 0.002941/0.4146, allocations: 0.5092 MB / 1.331 GB, free: 12.62 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.23658193400479]