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.001289/0.001289, allocations: 110.5 kB / 17.6 MB, free: 4.684 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.001265/0.001265, allocations: 186.8 kB / 20.78 MB, free: 1.52 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.436/1.436, allocations: 225.6 MB / 249.4 MB, free: 3.309 MB / 190.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.865/2.865, allocations: 476.7 MB / 0.7629 GB, free: 15.16 MB / 0.6075 GB " [Timeout remaining time 176] 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.002228/0.002228, allocations: 75.88 kB / 1.107 GB, free: 4.598 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9398/0.942, allocations: 168.7 MB / 1.272 GB, free: 8.121 MB / 0.9981 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002651/0.9447, allocations: 1.517 MB / 1.273 GB, free: 7.086 MB / 0.9981 GB Notification: Performance of NFInst.instExpressions: time 0.001336/0.946, allocations: 1.174 MB / 1.275 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.58e-05/0.9461, allocations: 1.75 kB / 1.275 GB, free: 6.246 MB / 0.9981 GB Notification: Performance of NFTyping.typeComponents: time 0.0001709/0.9462, allocations: 17.86 kB / 1.275 GB, free: 6.234 MB / 0.9981 GB Notification: Performance of NFTyping.typeBindings: time 0.0001623/0.9464, allocations: 44.09 kB / 1.275 GB, free: 6.207 MB / 0.9981 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001646/0.9466, allocations: 55.52 kB / 1.275 GB, free: 6.18 MB / 0.9981 GB Notification: Performance of NFFlatten.flatten: time 0.0001889/0.9468, allocations: 147.7 kB / 1.275 GB, free: 6.121 MB / 0.9981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001317/0.9469, allocations: 34.27 kB / 1.275 GB, free: 6.109 MB / 0.9981 GB Notification: Performance of NFEvalConstants.evaluate: time 9.348e-05/0.947, allocations: 83.55 kB / 1.275 GB, free: 6.078 MB / 0.9981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00017/0.9472, allocations: 57.61 kB / 1.275 GB, free: 6.051 MB / 0.9981 GB Notification: Performance of NFPackage.collectConstants: time 3.582e-05/0.9472, allocations: 15.72 kB / 1.275 GB, free: 6.047 MB / 0.9981 GB Notification: Performance of NFFlatten.collectFunctions: time 6.976e-05/0.9473, allocations: 23.28 kB / 1.275 GB, free: 6.043 MB / 0.9981 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.9473, allocations: 49.03 kB / 1.275 GB, free: 6.02 MB / 0.9981 GB Notification: Performance of NFVerifyModel.verify: time 7.036e-05/0.9474, allocations: 81.05 kB / 1.275 GB, free: 5.969 MB / 0.9981 GB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.9477, allocations: 202.6 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.9477, allocations: 1.578 kB / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of FrontEnd: time 1.513e-06/0.9477, allocations: 0 / 1.275 GB, free: 5.891 MB / 0.9981 GB Notification: Performance of Transformations before backend: time 6.172e-06/0.9477, allocations: 0.6875 kB / 1.275 GB, free: 5.891 MB / 0.9981 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.0006274/0.9483, allocations: 493.7 kB / 1.276 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of prepare preOptimizeDAE: time 3.409e-05/0.9483, allocations: 11.78 kB / 1.276 GB, free: 5.461 MB / 0.9981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.198e-05/0.9484, allocations: 21.17 kB / 1.276 GB, free: 5.449 MB / 0.9981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002482/0.9487, allocations: 260 kB / 1.276 GB, free: 5.211 MB / 0.9981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001084/0.9488, allocations: 117.1 kB / 1.276 GB, free: 5.086 MB / 0.9981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.565e-05/0.9488, allocations: 8.75 kB / 1.276 GB, free: 5.082 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003543/0.9491, allocations: 160.1 kB / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.157e-05/0.9491, allocations: 0 / 1.276 GB, free: 5.02 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.649e-05/0.9492, allocations: 5.047 kB / 1.276 GB, free: 5.016 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.05e-05/0.9492, allocations: 13.28 kB / 1.276 GB, free: 5.012 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.566e-05/0.9493, allocations: 42.66 kB / 1.276 GB, free: 5 MB / 0.9981 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.9504, allocations: 456.6 kB / 1.277 GB, free: 4.676 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 8.092e-05/0.9504, allocations: 32.17 kB / 1.277 GB, free: 4.648 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.978e-05/0.9505, allocations: 26.02 kB / 1.277 GB, free: 4.633 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 4.013e-05/0.9505, allocations: 10.12 kB / 1.277 GB, free: 4.625 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.014e-05/0.9506, allocations: 34.69 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=8): time 1.232e-06/0.9506, allocations: 0.7188 kB / 1.277 GB, free: 4.586 MB / 0.9981 GB Notification: Performance of matching and sorting (n=8): time 0.000359/0.9509, allocations: 110.8 kB / 1.277 GB, free: 4.523 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.419e-05/0.951, allocations: 52.94 kB / 1.277 GB, free: 4.461 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003219/0.9513, allocations: 220.7 kB / 1.277 GB, free: 4.309 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/0.9513, allocations: 31.33 kB / 1.277 GB, free: 4.273 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 7.431e-05/0.9514, allocations: 123.8 kB / 1.277 GB, free: 4.16 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 2.804e-05/0.9514, allocations: 26.94 kB / 1.278 GB, free: 4.141 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.566e-05/0.9515, allocations: 34.11 kB / 1.278 GB, free: 4.113 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 8.242e-05/0.9516, allocations: 328.4 kB / 1.278 GB, free: 3.793 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.343e-05/0.9516, allocations: 24.66 kB / 1.278 GB, free: 3.789 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.933e-05/0.9517, allocations: 105 kB / 1.278 GB, free: 3.676 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001506/0.9519, allocations: 138.5 kB / 1.278 GB, free: 3.551 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9519, allocations: 4.875 kB / 1.278 GB, free: 3.547 MB / 0.9981 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002565/0.9522, allocations: 150.4 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.029e-05/0.9522, allocations: 5.875 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.9522, allocations: 3.875 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.106e-05/0.9522, allocations: 2.812 kB / 1.278 GB, free: 3.473 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001203/0.9523, allocations: 31.09 kB / 1.278 GB, free: 3.465 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.417e-05/0.9523, allocations: 13 kB / 1.278 GB, free: 3.457 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.627e-05/0.9524, allocations: 7.766 kB / 1.278 GB, free: 3.453 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.752e-05/0.9524, allocations: 10.83 kB / 1.278 GB, free: 3.449 MB / 0.9981 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.0001252/0.9525, allocations: 152 kB / 1.278 GB, free: 3.316 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.397e-05/0.9526, allocations: 15.47 kB / 1.278 GB, free: 3.309 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002296/0.9528, allocations: 109.9 kB / 1.279 GB, free: 3.246 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.9528, allocations: 4.781 kB / 1.279 GB, free: 3.242 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.09e-06/0.9528, allocations: 4.875 kB / 1.279 GB, free: 3.238 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.318e-06/0.9528, allocations: 7.984 kB / 1.279 GB, free: 3.23 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002326/0.9531, allocations: 236.8 kB / 1.279 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.9531, allocations: 0.8438 kB / 1.279 GB, free: 3.012 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.264e-05/0.9531, allocations: 18.12 kB / 1.279 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.024e-06/0.9531, allocations: 0.9062 kB / 1.279 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.02e-05/0.9531, allocations: 1.781 kB / 1.279 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.9531, allocations: 0.875 kB / 1.279 GB, free: 3.008 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.855e-06/0.9531, allocations: 3.938 kB / 1.279 GB, free: 3.004 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001937/0.9533, allocations: 194.5 kB / 1.279 GB, free: 2.844 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 3.535e-05/0.9534, allocations: 92.45 kB / 1.279 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.131e-05/0.9534, allocations: 1 kB / 1.279 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002358/0.9536, allocations: 19.31 kB / 1.279 GB, free: 2.738 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.09e-05/0.9537, allocations: 7.875 kB / 1.279 GB, free: 2.734 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.185e-05/0.9537, allocations: 19.92 kB / 1.279 GB, free: 2.727 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0001461/0.9538, allocations: 159.3 kB / 1.279 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1e-07/0.9538, allocations: 0 / 1.279 GB, free: 2.629 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0003165/0.9542, allocations: 34.22 kB / 1.279 GB, free: 2.621 MB / 0.9981 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.0002675/0.9544, allocations: 119.5 kB / 1.279 GB, free: 2.523 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002217/0.9546, allocations: 68.69 kB / 1.28 GB, free: 2.504 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.895e-06/0.9546, allocations: 4.906 kB / 1.28 GB, free: 2.5 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 4.573e-05/0.9547, allocations: 23.48 kB / 1.28 GB, free: 2.496 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003231/0.955, allocations: 16.69 kB / 1.28 GB, free: 2.492 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000616/0.9556, allocations: 314.7 kB / 1.28 GB, free: 2.281 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001729/0.9558, allocations: 0.7343 MB / 1.281 GB, free: 1.578 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.0001334/0.9559, allocations: 52.25 kB / 1.281 GB, free: 1.57 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.229e-05/0.956, allocations: 19.14 kB / 1.281 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of SimCode: time 4.81e-07/0.956, allocations: 0 / 1.281 GB, free: 1.562 MB / 0.9981 GB Notification: Performance of Templates: time 0.006473/0.9624, allocations: 2.419 MB / 1.283 GB, free: 1.328 MB / 0.9981 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 -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/jenkins/ws/OpenModelicaLibraryTestingWork/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.088517823256552]