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.001053/0.001053, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001513/0.002566, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.001071/0.001071, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001368/0.002439, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 0.9301/0.9301, allocations: 177.2 MB / 189.6 MB, free: 5.305 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08598/1.016, allocations: 53.65 MB / 243.3 MB, free: 15.58 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.838/1.838, allocations: 378.2 MB / 0.6076 GB, free: 7.852 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5114/2.349, allocations: 123.3 MB / 0.728 GB, free: 5.863 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.402e-06/1.402e-06, allocations: 0 / 0.7293 GB, free: 4.594 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.157e-05/2.297e-05, allocations: 6.312 kB / 0.7293 GB, free: 4.586 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002944/0.002967, allocations: 1.591 MB / 0.7309 GB, free: 3.008 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001978/0.004945, allocations: 1.279 MB / 0.7321 GB, free: 1.73 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.595e-05/0.005011, allocations: 4 kB / 0.7321 GB, free: 1.727 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.0001567/0.005168, allocations: 19.86 kB / 0.7321 GB, free: 1.707 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.0001613/0.005329, allocations: 36.11 kB / 0.7322 GB, free: 1.676 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002015/0.00553, allocations: 57.83 kB / 0.7322 GB, free: 1.621 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.0002352/0.005766, allocations: 150.4 kB / 0.7324 GB, free: 1.488 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001403/0.005906, allocations: 37.92 kB / 0.7324 GB, free: 1.449 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001824/0.006088, allocations: 123.7 kB / 0.7325 GB, free: 1.328 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001353/0.006223, allocations: 52.31 kB / 0.7326 GB, free: 1.277 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 3.547e-05/0.006259, allocations: 9.438 kB / 0.7326 GB, free: 1.27 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 8.064e-05/0.00634, allocations: 24 kB / 0.7326 GB, free: 1.246 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 6.561e-05/0.006405, allocations: 35.92 kB / 0.7326 GB, free: 1.211 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 6.27e-05/0.006468, allocations: 31.88 kB / 0.7327 GB, free: 1.18 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.0002486/0.006716, allocations: 152.1 kB / 0.7328 GB, free: 1.031 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.426e-05/0.006731, allocations: 3.938 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of FrontEnd: time 9.92e-07/0.006732, allocations: 0.6875 kB / 0.7328 GB, free: 1.027 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.806e-05/0.00675, allocations: 1.719 kB / 0.7328 GB, free: 1.027 MB / 0.698 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.0006346/0.007384, allocations: 411.6 kB / 0.7332 GB, free: 0.6016 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.585e-05/0.00742, allocations: 8.031 kB / 0.7332 GB, free: 0.5938 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.461e-05/0.007475, allocations: 16.92 kB / 0.7332 GB, free: 0.5781 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002546/0.007729, allocations: 183 kB / 0.7334 GB, free: 380 kB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001514/0.007881, allocations: 222.2 kB / 0.7336 GB, free: 108 kB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.518e-05/0.007906, allocations: 4.875 kB / 0.7336 GB, free: 104 kB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000258/0.008164, allocations: 200.4 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.008173, allocations: 0.8125 kB / 0.7338 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.172e-05/0.008195, allocations: 8.125 kB / 0.7338 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.278e-05/0.008227, allocations: 9.141 kB / 0.7338 GB, free: 15.86 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.773e-05/0.008265, allocations: 18.52 kB / 0.7339 GB, free: 15.84 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006052/0.00887, allocations: 275.1 kB / 0.7341 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 5.862e-05/0.008929, allocations: 31.19 kB / 0.7341 GB, free: 15.52 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.336e-05/0.008952, allocations: 9.016 kB / 0.7342 GB, free: 15.51 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 3.184e-05/0.008984, allocations: 5.75 kB / 0.7342 GB, free: 15.5 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.063e-05/0.009015, allocations: 42.53 kB / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=8): time 2.605e-06/0.009018, allocations: 0 / 0.7342 GB, free: 15.45 MB / 0.7136 GB Notification: Performance of matching and sorting (n=8): time 0.0001732/0.009191, allocations: 61.61 kB / 0.7343 GB, free: 15.39 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.674e-05/0.009227, allocations: 56 kB / 0.7343 GB, free: 15.32 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.009389, allocations: 183.5 kB / 0.7345 GB, free: 15.12 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.009415, allocations: 30.7 kB / 0.7345 GB, free: 15.09 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 6.152e-05/0.009477, allocations: 112 kB / 0.7346 GB, free: 14.98 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 2.722e-05/0.009504, allocations: 23.92 kB / 0.7346 GB, free: 14.95 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.048e-05/0.009564, allocations: 30.22 kB / 0.7347 GB, free: 14.92 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.009695, allocations: 331.9 kB / 0.735 GB, free: 14.59 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.782e-05/0.009723, allocations: 8 kB / 0.735 GB, free: 14.58 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.969e-05/0.009803, allocations: 78.23 kB / 0.7351 GB, free: 14.46 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.009953, allocations: 113.7 kB / 0.7352 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.972e-06/0.009959, allocations: 7.938 kB / 0.7352 GB, free: 14.31 MB / 0.7136 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001771/0.01014, allocations: 99.94 kB / 0.7353 GB, free: 14.21 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.66e-05/0.01015, allocations: 9.25 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.634e-06/0.01016, allocations: 4 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.641e-05/0.01018, allocations: 4 kB / 0.7353 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.01028, allocations: 23.98 kB / 0.7353 GB, free: 14.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.01029, allocations: 8.969 kB / 0.7353 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.282e-05/0.01035, allocations: 11.89 kB / 0.7353 GB, free: 14.15 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.572e-05/0.01037, allocations: 12.56 kB / 0.7354 GB, free: 14.14 MB / 0.7136 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 9.186e-05/0.01046, allocations: 126.4 kB / 0.7355 GB, free: 14.01 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.827e-05/0.0105, allocations: 4 kB / 0.7355 GB, free: 14 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001677/0.01066, allocations: 99.03 kB / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.976e-06/0.01067, allocations: 0 / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.484e-06/0.01067, allocations: 0 / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.01067, allocations: 1.219 kB / 0.7356 GB, free: 13.9 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001844/0.01086, allocations: 109.8 kB / 0.7357 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.104e-06/0.01086, allocations: 0 / 0.7357 GB, free: 13.78 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.231e-05/0.01091, allocations: 16.58 kB / 0.7357 GB, free: 13.76 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.566e-05/0.01094, allocations: 15.84 kB / 0.7357 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.375e-06/0.01094, allocations: 0.75 kB / 0.7357 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.761e-06/0.01095, allocations: 0 / 0.7357 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.416e-06/0.01095, allocations: 4.562 kB / 0.7357 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.703e-06/0.01095, allocations: 0.75 kB / 0.7357 GB, free: 13.74 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001346/0.01109, allocations: 163.3 kB / 0.7359 GB, free: 13.57 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.79e-05/0.0111, allocations: 9.094 kB / 0.7359 GB, free: 13.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001314/0.01123, allocations: 4 kB / 0.7359 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.829e-05/0.01125, allocations: 7.984 kB / 0.7359 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.01127, allocations: 5.078 kB / 0.7359 GB, free: 13.54 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 6.739e-05/0.01134, allocations: 59.09 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01134, allocations: 2.375 kB / 0.736 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0003163/0.01166, allocations: 31.94 kB / 0.736 GB, free: 13.45 MB / 0.7136 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.0003512/0.01201, allocations: 105.4 kB / 0.7361 GB, free: 13.35 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001562/0.01216, allocations: 54.56 kB / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 9.017e-06/0.01217, allocations: 0 / 0.7361 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.788e-05/0.0122, allocations: 24.78 kB / 0.7362 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003418/0.01254, allocations: 39.95 kB / 0.7362 GB, free: 13.23 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006925/0.01324, allocations: 256.9 kB / 0.7364 GB, free: 12.95 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.423e-05/0.0133, allocations: 83.17 kB / 0.7365 GB, free: 12.85 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 9.224e-05/0.01339, allocations: 33.78 kB / 0.7366 GB, free: 12.82 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002558/0.01365, allocations: 107.2 kB / 0.7367 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of SimCode: time 9.82e-07/0.01365, allocations: 1.156 kB / 0.7367 GB, free: 12.71 MB / 0.7136 GB Notification: Performance of Templates: time 0.006316/0.01997, allocations: 2.905 MB / 0.7395 GB, free: 9.961 MB / 0.7136 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.915873510763049]