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.0007648/0.0007648, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009831/0.001748, 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.0006908/0.0006908, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0008475/0.001538, 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.9173/0.9173, allocations: 177.2 MB / 189.6 MB, free: 5.328 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09606/1.013, allocations: 53.65 MB / 243.3 MB, free: 15.6 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.848/1.848, allocations: 378.2 MB / 0.6076 GB, free: 7.832 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4622/2.31, allocations: 123.3 MB / 0.728 GB, free: 5.844 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.272e-06/1.272e-06, allocations: 0 / 0.7293 GB, free: 4.578 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 8.626e-06/9.898e-06, allocations: 2.312 kB / 0.7293 GB, free: 4.574 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.001669/0.001679, allocations: 1.483 MB / 0.7308 GB, free: 3.102 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0003238/0.002003, allocations: 40.47 kB / 0.7308 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.074e-05/0.002034, allocations: 0 / 0.7308 GB, free: 3.062 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 8.612e-05/0.00212, allocations: 13.08 kB / 0.7308 GB, free: 3.051 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 5.56e-05/0.002175, allocations: 13.02 kB / 0.7308 GB, free: 3.039 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 2.895e-06/0.002178, allocations: 4 kB / 0.7308 GB, free: 3.035 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.389e-05/0.002242, allocations: 13.53 kB / 0.7308 GB, free: 3.027 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.947e-05/0.002282, allocations: 7.984 kB / 0.7308 GB, free: 3.02 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.009e-05/0.002352, allocations: 19.69 kB / 0.7309 GB, free: 3.004 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.002396, allocations: 5.641 kB / 0.7309 GB, free: 3 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.889e-05/0.002415, allocations: 4 kB / 0.7309 GB, free: 2.996 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.302e-05/0.002458, allocations: 12.61 kB / 0.7309 GB, free: 2.984 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 3.097e-05/0.002489, allocations: 5.859 kB / 0.7309 GB, free: 2.98 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.588e-05/0.002505, allocations: 5.5 kB / 0.7309 GB, free: 2.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.326e-05/0.002588, allocations: 22.33 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.181e-05/0.0026, allocations: 0.5 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of FrontEnd: time 6.41e-07/0.0026, allocations: 0.5938 kB / 0.7309 GB, free: 2.957 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.186e-05/0.002612, allocations: 3.938 kB / 0.7309 GB, free: 2.953 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002419/0.002854, allocations: 239 kB / 0.7311 GB, free: 2.695 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.756e-05/0.002882, allocations: 8.031 kB / 0.7312 GB, free: 2.688 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.206e-05/0.002904, allocations: 5.812 kB / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001162/0.00302, allocations: 134.9 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.202e-06/0.003026, allocations: 1.812 kB / 0.7313 GB, free: 2.523 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.3e-06/0.003031, allocations: 4.375 kB / 0.7313 GB, free: 2.52 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.092e-05/0.003092, allocations: 29.09 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.27e-06/0.003098, allocations: 192 / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.919e-06/0.003103, allocations: 1.906 kB / 0.7313 GB, free: 2.484 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.168e-05/0.003124, allocations: 5.062 kB / 0.7313 GB, free: 2.48 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.978e-06/0.003134, allocations: 3.938 kB / 0.7313 GB, free: 2.477 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.564e-05/0.0032, allocations: 72.34 kB / 0.7314 GB, free: 2.391 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 3.612e-05/0.003236, allocations: 14.58 kB / 0.7314 GB, free: 2.367 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.255e-05/0.003249, allocations: 8.859 kB / 0.7314 GB, free: 2.355 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.896e-05/0.003267, allocations: 4.094 kB / 0.7314 GB, free: 2.352 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.643e-05/0.003284, allocations: 31.38 kB / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 7.11e-07/0.003285, allocations: 0.6562 kB / 0.7315 GB, free: 2.312 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 7.099e-05/0.003356, allocations: 34.14 kB / 0.7315 GB, free: 2.273 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.562e-05/0.003381, allocations: 56.11 kB / 0.7315 GB, free: 2.207 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.005e-05/0.003441, allocations: 110.7 kB / 0.7316 GB, free: 2.086 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.066e-06/0.003449, allocations: 26.3 kB / 0.7317 GB, free: 2.055 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.185e-05/0.003471, allocations: 94.06 kB / 0.7318 GB, free: 1.961 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.003489, allocations: 0 / 0.7318 GB, free: 1.961 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.867e-05/0.003507, allocations: 9.719 kB / 0.7318 GB, free: 1.945 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.53e-05/0.003573, allocations: 319.7 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.128e-06/0.003577, allocations: 0 / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.358e-06/0.003581, allocations: 0.625 kB / 0.7321 GB, free: 1.625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.009e-05/0.003601, allocations: 20.36 kB / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.003603, allocations: 0.7656 kB / 0.7321 GB, free: 1.602 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 2.827e-05/0.003631, allocations: 39.38 kB / 0.7321 GB, free: 1.559 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.086e-05/0.003642, allocations: 10.5 kB / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.557e-06/0.003645, allocations: 0 / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.693e-06/0.003652, allocations: 0 / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.841e-05/0.003691, allocations: 0.5938 kB / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.943e-06/0.003693, allocations: 0 / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.697e-06/0.003701, allocations: 1.766 kB / 0.7321 GB, free: 1.551 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.003706, allocations: 7.984 kB / 0.7322 GB, free: 1.543 MB / 0.698 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 4.366e-05/0.00375, allocations: 113.1 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.947e-06/0.003754, allocations: 1.125 kB / 0.7323 GB, free: 1.422 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.309e-05/0.003807, allocations: 41.16 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.003808, allocations: 0 / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.522e-06/0.003809, allocations: 0.7188 kB / 0.7323 GB, free: 1.375 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.003811, allocations: 4.812 kB / 0.7323 GB, free: 1.371 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.493e-05/0.003856, allocations: 74.36 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.003857, allocations: 1.031 kB / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.012e-06/0.003863, allocations: 0 / 0.7324 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.003871, allocations: 11.94 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.62e-07/0.003871, allocations: 0.5625 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.695e-06/0.003874, allocations: 0 / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.21e-07/0.003875, allocations: 1.75 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.003875, allocations: 0.5469 kB / 0.7324 GB, free: 1.27 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.79e-05/0.003913, allocations: 63.91 kB / 0.7325 GB, free: 1.188 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.604e-06/0.003921, allocations: 3.984 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.499e-06/0.003925, allocations: 1.219 kB / 0.7325 GB, free: 1.184 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.297e-06/0.003935, allocations: 4 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.042e-06/0.003936, allocations: 1.094 kB / 0.7325 GB, free: 1.18 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.416e-05/0.00395, allocations: 18.47 kB / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of sort global known variables: time 5e-08/0.00395, allocations: 0 / 0.7325 GB, free: 1.16 MB / 0.698 GB Notification: Performance of remove unused functions: time 9.161e-05/0.004042, allocations: 0 / 0.7325 GB, free: 1.16 MB / 0.698 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.0001442/0.004186, allocations: 112.9 kB / 0.7326 GB, free: 1.051 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 4.438e-05/0.00423, allocations: 5.922 kB / 0.7326 GB, free: 1.043 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.004235, allocations: 4 kB / 0.7326 GB, free: 1.039 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/0.004239, allocations: 5.953 kB / 0.7326 GB, free: 1.031 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 5.64e-05/0.004296, allocations: 13.06 kB / 0.7326 GB, free: 1.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002853/0.004581, allocations: 112 kB / 0.7327 GB, free: 0.8828 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.45e-05/0.004605, allocations: 59.34 kB / 0.7328 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 1.194e-05/0.004617, allocations: 1.125 kB / 0.7328 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.679e-05/0.004644, allocations: 51.38 kB / 0.7328 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of SimCode: time 5.21e-07/0.004645, allocations: 0 / 0.7328 GB, free: 0.7539 MB / 0.698 GB Notification: Performance of Templates: time 0.001749/0.006394, allocations: 0.5836 MB / 0.7334 GB, free: 216 kB / 0.698 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.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.852312674745917]