Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001721/0.001721, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.002149/0.002149, allocations: 213.2 kB / 23 MB, free: 4.566 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.487/1.487, allocations: 230.6 MB / 256.8 MB, free: 8.008 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 3.175/3.175, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_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.002201/0.002201, allocations: 67.61 kB / 1.178 GB, free: 16.82 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3245/0.3267, allocations: 180.2 MB / 1.354 GB, free: 7.957 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002837/0.3295, allocations: 1.399 MB / 1.355 GB, free: 6.551 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.0001872/0.3297, allocations: 43.81 kB / 1.355 GB, free: 6.508 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.02e-05/0.3297, allocations: 3.938 kB / 1.355 GB, free: 6.504 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 0.0001539/0.3299, allocations: 11.94 kB / 1.355 GB, free: 6.492 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 0.0001129/0.33, allocations: 15.92 kB / 1.356 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 3.847e-06/0.33, allocations: 0 / 1.356 GB, free: 6.477 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 7.177e-05/0.3301, allocations: 23.92 kB / 1.356 GB, free: 6.453 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.651e-05/0.3301, allocations: 3.984 kB / 1.356 GB, free: 6.449 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.925e-05/0.3301, allocations: 7.938 kB / 1.356 GB, free: 6.441 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 6.737e-05/0.3302, allocations: 11.98 kB / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.794e-05/0.3302, allocations: 0 / 1.356 GB, free: 6.43 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 4.79e-05/0.3303, allocations: 12 kB / 1.356 GB, free: 6.418 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 4.038e-05/0.3303, allocations: 3.938 kB / 1.356 GB, free: 6.414 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.454e-05/0.3303, allocations: 11.94 kB / 1.356 GB, free: 6.402 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0001108/0.3304, allocations: 31.83 kB / 1.356 GB, free: 6.371 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.3304, allocations: 4 kB / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.403e-06/0.3304, allocations: 0 / 1.356 GB, free: 6.367 MB / 1.045 GB Notification: Performance of Transformations before backend: time 8.486e-06/0.3305, allocations: 4 kB / 1.356 GB, free: 6.363 MB / 1.045 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.0003566/0.3308, allocations: 263.9 kB / 1.356 GB, free: 6.074 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.51e-05/0.3308, allocations: 8.031 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.865e-05/0.3309, allocations: 0.9375 kB / 1.356 GB, free: 6.066 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001874/0.3311, allocations: 122.5 kB / 1.356 GB, free: 5.922 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.382e-05/0.3311, allocations: 8.312 kB / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.3311, allocations: 384 / 1.356 GB, free: 5.914 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.501e-05/0.3312, allocations: 30.27 kB / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.835e-06/0.3312, allocations: 192 / 1.356 GB, free: 5.879 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.167e-06/0.3312, allocations: 7.938 kB / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.623e-05/0.3312, allocations: 0 / 1.356 GB, free: 5.871 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.352e-05/0.3312, allocations: 7.984 kB / 1.356 GB, free: 5.863 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001686/0.3314, allocations: 128.8 kB / 1.356 GB, free: 5.695 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 5.186e-05/0.3315, allocations: 22.52 kB / 1.356 GB, free: 5.664 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.782e-05/0.3315, allocations: 8.922 kB / 1.356 GB, free: 5.652 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 1.773e-05/0.3315, allocations: 3.938 kB / 1.356 GB, free: 5.648 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.307e-05/0.3315, allocations: 34.56 kB / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of pre-optimization done (n=1): time 8.81e-07/0.3315, allocations: 0 / 1.356 GB, free: 5.605 MB / 1.045 GB Notification: Performance of matching and sorting (n=1): time 0.000144/0.3317, allocations: 45.58 kB / 1.356 GB, free: 5.555 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.99e-05/0.3317, allocations: 55.39 kB / 1.356 GB, free: 5.488 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.3318, allocations: 117.8 kB / 1.356 GB, free: 5.363 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 2.399e-05/0.3318, allocations: 25.7 kB / 1.356 GB, free: 5.332 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 4.265e-05/0.3319, allocations: 84.08 kB / 1.357 GB, free: 5.246 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.095e-05/0.3319, allocations: 4.078 kB / 1.357 GB, free: 5.242 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.017e-05/0.3319, allocations: 21.72 kB / 1.357 GB, free: 5.215 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001399/0.3321, allocations: 310.8 kB / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.126e-05/0.3321, allocations: 0 / 1.357 GB, free: 4.902 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.073e-05/0.3321, allocations: 7.984 kB / 1.357 GB, free: 4.895 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.812e-05/0.3321, allocations: 12.86 kB / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.3321, allocations: 0 / 1.357 GB, free: 4.879 MB / 1.045 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.436e-05/0.3322, allocations: 33.7 kB / 1.357 GB, free: 4.84 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.52e-05/0.3322, allocations: 10.12 kB / 1.357 GB, free: 4.832 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.254e-06/0.3322, allocations: 3.938 kB / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.3322, allocations: 0 / 1.357 GB, free: 4.828 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.38e-05/0.3323, allocations: 11.92 kB / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.749e-06/0.3323, allocations: 0 / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.264e-05/0.3323, allocations: 0 / 1.357 GB, free: 4.816 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.469e-06/0.3323, allocations: 0 / 1.357 GB, free: 4.816 MB / 1.045 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.251e-05/0.3324, allocations: 121.7 kB / 1.357 GB, free: 4.688 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.057e-05/0.3324, allocations: 3.953 kB / 1.357 GB, free: 4.684 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.3325, allocations: 53.09 kB / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.3325, allocations: 0 / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.3325, allocations: 0 / 1.357 GB, free: 4.621 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.3325, allocations: 3.984 kB / 1.357 GB, free: 4.617 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001049/0.3326, allocations: 124.8 kB / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.01e-07/0.3326, allocations: 0 / 1.357 GB, free: 4.453 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.361e-05/0.3326, allocations: 4 kB / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3326, allocations: 0 / 1.357 GB, free: 4.449 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.3327, allocations: 3.938 kB / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.3327, allocations: 0 / 1.357 GB, free: 4.445 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.077e-06/0.3327, allocations: 11.95 kB / 1.357 GB, free: 4.434 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.29e-05/0.3327, allocations: 61.08 kB / 1.357 GB, free: 4.355 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 9.738e-06/0.3327, allocations: 4 kB / 1.357 GB, free: 4.352 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.562e-05/0.3328, allocations: 7.938 kB / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.01e-05/0.3328, allocations: 0 / 1.357 GB, free: 4.344 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.3328, allocations: 7.922 kB / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-06/0.3328, allocations: 0 / 1.357 GB, free: 4.336 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.361e-05/0.3329, allocations: 95.31 kB / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.3329, allocations: 0 / 1.357 GB, free: 4.242 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0001819/0.333, allocations: 4 kB / 1.357 GB, free: 4.238 MB / 1.045 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.0002153/0.3333, allocations: 109.6 kB / 1.358 GB, free: 4.125 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.3333, allocations: 11.94 kB / 1.358 GB, free: 4.113 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 5.841e-06/0.3333, allocations: 4.062 kB / 1.358 GB, free: 4.109 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 7.324e-06/0.3333, allocations: 4 kB / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001273/0.3335, allocations: 0 / 1.358 GB, free: 4.105 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002827/0.3338, allocations: 139.3 kB / 1.358 GB, free: 3.938 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003224/0.3341, allocations: 0.6768 MB / 1.358 GB, free: 3.234 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.415e-05/0.3341, allocations: 11.42 kB / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of SimCode: time 3.01e-07/0.3341, allocations: 0 / 1.358 GB, free: 3.223 MB / 1.045 GB Notification: Performance of Templates: time 0.002544/0.3366, allocations: 0.7688 MB / 1.359 GB, free: 2.457 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 11.27623203699477]