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.001662/0.001662, allocations: 95.92 kB / 19.7 MB, free: 2.129 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.002341/0.002341, allocations: 212.6 kB / 23 MB, free: 4.934 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.589/1.589, allocations: 230.6 MB / 256.8 MB, free: 7.785 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.543/3.543, allocations: 0.49 GB / 0.7959 GB, free: 35.56 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.002195/0.002195, allocations: 67.88 kB / 1.155 GB, free: 25.28 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3985/0.4007, allocations: 176.1 MB / 1.327 GB, free: 1.02 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002989/0.4037, allocations: 1.394 MB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.0001873/0.4039, allocations: 43.83 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.598e-05/0.4039, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0001644/0.4041, allocations: 11.92 kB / 1.328 GB, free: 15.57 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0001136/0.4042, allocations: 19.91 kB / 1.329 GB, free: 15.55 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 4.058e-06/0.4042, allocations: 4 kB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 6.532e-05/0.4043, allocations: 11.94 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.688e-05/0.4043, allocations: 4 kB / 1.329 GB, free: 15.53 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.819e-05/0.4043, allocations: 15.92 kB / 1.329 GB, free: 15.51 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 4.675e-05/0.4044, allocations: 7.875 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.516e-05/0.4044, allocations: 4 kB / 1.329 GB, free: 15.5 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 4.972e-05/0.4045, allocations: 12 kB / 1.329 GB, free: 15.49 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 4.032e-05/0.4045, allocations: 7.969 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.864e-05/0.4045, allocations: 3.938 kB / 1.329 GB, free: 15.48 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001119/0.4046, allocations: 31.86 kB / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.658e-06/0.4046, allocations: 0 / 1.329 GB, free: 15.45 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4046, allocations: 4 kB / 1.329 GB, free: 15.44 MB / 1.029 GB Notification: Performance of Transformations before backend: time 5.19e-06/0.4046, allocations: 0 / 1.329 GB, free: 15.44 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.000384/0.405, allocations: 263.3 kB / 1.329 GB, free: 15.15 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.4051, allocations: 12.02 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.488e-05/0.4051, allocations: 4.891 kB / 1.329 GB, free: 15.14 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001931/0.4053, allocations: 118.5 kB / 1.329 GB, free: 15 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.206e-05/0.4053, allocations: 4.375 kB / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.504e-06/0.4053, allocations: 384 / 1.329 GB, free: 14.99 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.823e-05/0.4054, allocations: 34.25 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.767e-06/0.4054, allocations: 192 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.197e-06/0.4054, allocations: 7.938 kB / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.089e-05/0.4054, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.185e-05/0.4055, allocations: 0 / 1.329 GB, free: 14.95 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001514/0.4056, allocations: 109.3 kB / 1.329 GB, free: 14.81 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 5.026e-05/0.4057, allocations: 26.45 kB / 1.329 GB, free: 14.77 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.055e-05/0.4057, allocations: 8.922 kB / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.993e-05/0.4057, allocations: 0 / 1.329 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.933e-05/0.4057, allocations: 30.56 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of pre-optimization done (n=1): time 9.12e-07/0.4057, allocations: 0 / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of matching and sorting (n=1): time 0.0001439/0.4059, allocations: 49.58 kB / 1.329 GB, free: 14.67 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.711e-05/0.4059, allocations: 55.53 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001277/0.406, allocations: 125.8 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.679e-05/0.4061, allocations: 25.7 kB / 1.329 GB, free: 14.44 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.605e-05/0.4061, allocations: 80.14 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.831e-05/0.4061, allocations: 4 kB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.088e-05/0.4062, allocations: 13.72 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.4063, allocations: 314.8 kB / 1.33 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.381e-05/0.4063, allocations: 4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.636e-06/0.4063, allocations: 4 kB / 1.33 GB, free: 14.01 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.003e-05/0.4063, allocations: 12.92 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4063, allocations: 4 kB / 1.33 GB, free: 13.99 MB / 1.029 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.334e-05/0.4064, allocations: 37.66 kB / 1.33 GB, free: 13.95 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.65e-05/0.4064, allocations: 4 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.412e-06/0.4064, allocations: 3.984 kB / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.32e-05/0.4064, allocations: 0 / 1.33 GB, free: 13.94 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.6e-05/0.4065, allocations: 15.81 kB / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.023e-05/0.4065, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.298e-05/0.4065, allocations: 0 / 1.33 GB, free: 13.92 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.169e-06/0.4065, allocations: 0 / 1.33 GB, free: 13.92 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.948e-05/0.4066, allocations: 121.9 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.4066, allocations: 3.984 kB / 1.33 GB, free: 13.79 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001131/0.4067, allocations: 45.16 kB / 1.33 GB, free: 13.73 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.522e-06/0.4068, allocations: 3.938 kB / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.22e-07/0.4068, allocations: 0 / 1.33 GB, free: 13.72 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.259e-05/0.4068, allocations: 7.953 kB / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.4068, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.608e-06/0.4068, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.328e-06/0.4068, allocations: 0 / 1.33 GB, free: 13.71 MB / 1.029 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 8.914e-05/0.4069, allocations: 116.9 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001406/0.407, allocations: 214.8 kB / 1.33 GB, free: 13.37 MB / 1.029 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 1.733e-05/0.407, allocations: 7.938 kB / 1.33 GB, free: 13.36 MB / 1.029 GB Notification: Performance of sorting global known variables: time 6.396e-05/0.4071, allocations: 91.28 kB / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of Backend: time 1.4e-07/0.4071, allocations: 0 / 1.331 GB, free: 13.27 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0005097/0.4076, allocations: 101.7 kB / 1.331 GB, free: 13.17 MB / 1.029 GB Notification: Performance of SimCode: time 0.0004933/0.4081, allocations: 0.5612 MB / 1.331 GB, free: 12.56 MB / 1.029 GB Notification: Performance of Templates: time 0.003264/0.4114, allocations: 0.5463 MB / 1.332 GB, free: 12.01 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 -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.595952226998634]