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.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.001686/0.001686, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002055/0.002055, allocations: 210.4 kB / 22.24 MB, free: 5.242 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.478/1.478, allocations: 230.6 MB / 256 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.891/2.891, allocations: 476 MB / 0.7699 GB, free: 4.77 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.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: 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.002101/0.002101, allocations: 65.8 kB / 1.117 GB, free: 41.07 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3001/0.3022, allocations: 170 MB / 1.283 GB, free: 11.94 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002823/0.305, allocations: 1.495 MB / 1.284 GB, free: 10.45 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001733/0.3067, allocations: 1.198 MB / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.077e-05/0.3068, allocations: 0 / 1.286 GB, free: 9.242 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001825/0.307, allocations: 19.86 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.3072, allocations: 43.78 kB / 1.286 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001941/0.3074, allocations: 55.84 kB / 1.286 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0002204/0.3076, allocations: 155.5 kB / 1.286 GB, free: 8.973 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.3077, allocations: 37.23 kB / 1.286 GB, free: 8.938 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000111/0.3078, allocations: 79.81 kB / 1.286 GB, free: 8.859 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001501/0.308, allocations: 63.64 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 4.14e-05/0.308, allocations: 12 kB / 1.286 GB, free: 8.785 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 8.621e-05/0.3081, allocations: 27.98 kB / 1.286 GB, free: 8.758 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.812e-05/0.3082, allocations: 51.83 kB / 1.286 GB, free: 8.707 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 8.291e-05/0.3083, allocations: 59.7 kB / 1.286 GB, free: 8.648 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.00029/0.3086, allocations: 199.2 kB / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3086, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.754e-06/0.3086, allocations: 0 / 1.286 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 6.352e-06/0.3086, allocations: 4 kB / 1.286 GB, free: 8.449 MB / 0.9825 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.0007225/0.3093, allocations: 429.3 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.388e-05/0.3093, allocations: 12.03 kB / 1.287 GB, free: 7.988 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.3094, allocations: 16.84 kB / 1.287 GB, free: 7.973 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.3098, allocations: 199.7 kB / 1.287 GB, free: 7.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002177/0.31, allocations: 222.2 kB / 1.287 GB, free: 7.488 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.31, allocations: 8.375 kB / 1.287 GB, free: 7.48 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004219/0.3104, allocations: 266.9 kB / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.247e-06/0.3104, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.104e-05/0.3105, allocations: 0 / 1.288 GB, free: 7.191 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.311e-05/0.3105, allocations: 15.92 kB / 1.288 GB, free: 7.176 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.825e-05/0.3106, allocations: 43.97 kB / 1.288 GB, free: 7.133 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00107/0.3117, allocations: 376.2 kB / 1.288 GB, free: 6.734 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.592e-05/0.3117, allocations: 38.5 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.699e-05/0.3118, allocations: 24.84 kB / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.3118, allocations: 160 / 1.288 GB, free: 6.66 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.113e-05/0.3118, allocations: 46.48 kB / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=8): time 9.02e-07/0.3118, allocations: 0 / 1.288 GB, free: 6.605 MB / 0.9825 GB Notification: Performance of matching and sorting (n=8): time 0.0002864/0.3121, allocations: 105.5 kB / 1.288 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.035e-05/0.3122, allocations: 55.41 kB / 1.288 GB, free: 6.43 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002398/0.3124, allocations: 207.8 kB / 1.288 GB, free: 6.211 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 3.291e-05/0.3124, allocations: 33.7 kB / 1.288 GB, free: 6.172 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 9.43e-05/0.3125, allocations: 124.1 kB / 1.289 GB, free: 6.047 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.667e-05/0.3126, allocations: 27.81 kB / 1.289 GB, free: 6.02 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.19e-05/0.3126, allocations: 29.7 kB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001567/0.3128, allocations: 330.8 kB / 1.289 GB, free: 5.652 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.923e-05/0.3128, allocations: 27.97 kB / 1.289 GB, free: 5.625 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001213/0.3129, allocations: 102.2 kB / 1.289 GB, free: 5.488 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001968/0.3131, allocations: 150 kB / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.294e-06/0.3131, allocations: 0 / 1.289 GB, free: 5.305 MB / 0.9825 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000269/0.3134, allocations: 161.5 kB / 1.289 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.666e-05/0.3134, allocations: 6.5 kB / 1.289 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/0.3134, allocations: 4 kB / 1.289 GB, free: 5.133 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.73e-05/0.3135, allocations: 4 kB / 1.289 GB, free: 5.129 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001082/0.3136, allocations: 31.91 kB / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3136, allocations: 0 / 1.289 GB, free: 5.098 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.066e-05/0.3136, allocations: 15.83 kB / 1.289 GB, free: 5.082 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.241e-05/0.3137, allocations: 8 kB / 1.289 GB, free: 5.074 MB / 0.9825 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.0001385/0.3138, allocations: 145.8 kB / 1.29 GB, free: 4.922 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.3139, allocations: 20.03 kB / 1.29 GB, free: 4.902 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002339/0.3141, allocations: 115 kB / 1.29 GB, free: 4.777 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.638e-06/0.3141, allocations: 3.984 kB / 1.29 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3141, allocations: 3.938 kB / 1.29 GB, free: 4.77 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.761e-06/0.3141, allocations: 3.938 kB / 1.29 GB, free: 4.766 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002115/0.3143, allocations: 153.2 kB / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.292e-06/0.3143, allocations: 0 / 1.29 GB, free: 4.586 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.546e-05/0.3144, allocations: 15.98 kB / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.3144, allocations: 0 / 1.29 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.072e-05/0.3144, allocations: 4 kB / 1.29 GB, free: 4.566 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.507e-06/0.3144, allocations: 4 kB / 1.29 GB, free: 4.562 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3144, allocations: 11.88 kB / 1.29 GB, free: 4.551 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00022/0.3146, allocations: 191.4 kB / 1.29 GB, free: 4.348 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 2.54e-05/0.3146, allocations: 11.91 kB / 1.29 GB, free: 4.336 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.092e-05/0.3147, allocations: 3.984 kB / 1.29 GB, free: 4.332 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002454/0.3149, allocations: 19.98 kB / 1.29 GB, free: 4.312 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.289e-05/0.3149, allocations: 7.984 kB / 1.29 GB, free: 4.305 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.466e-05/0.3149, allocations: 7.984 kB / 1.29 GB, free: 4.297 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.000159/0.3151, allocations: 161.5 kB / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3151, allocations: 0 / 1.29 GB, free: 4.141 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0003112/0.3154, allocations: 39.88 kB / 1.29 GB, free: 4.102 MB / 0.9825 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.0002647/0.3157, allocations: 126.2 kB / 1.29 GB, free: 3.977 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.3159, allocations: 72.33 kB / 1.29 GB, free: 3.906 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.3159, allocations: 4.25 kB / 1.29 GB, free: 3.902 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 4.405e-05/0.3159, allocations: 27.92 kB / 1.29 GB, free: 3.875 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003056/0.3162, allocations: 19.98 kB / 1.291 GB, free: 3.855 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005566/0.3168, allocations: 287.5 kB / 1.291 GB, free: 3.551 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001206/0.3169, allocations: 114.1 kB / 1.291 GB, free: 3.422 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 0.0001246/0.317, allocations: 52.88 kB / 1.291 GB, free: 3.371 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.937e-05/0.3171, allocations: 19.44 kB / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of SimCode: time 3.2e-07/0.3171, allocations: 0 / 1.291 GB, free: 3.352 MB / 0.9825 GB Notification: Performance of Templates: time 0.006036/0.3231, allocations: 2.562 MB / 1.293 GB, free: 0.832 MB / 0.9825 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: 8.901138331741095]