Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.00132/0.00132, allocations: 102.1 kB / 19.7 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.001575/0.001575, allocations: 218.3 kB / 23.01 MB, free: 5.125 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.453/1.453, allocations: 230.6 MB / 256.8 MB, free: 7.949 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.864/2.864, allocations: 476.7 MB / 0.7714 GB, free: 4.207 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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",fileNamePrefix="Buildings_11_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_11_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.002074/0.002074, allocations: 69.64 kB / 1.119 GB, free: 40.27 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4468/0.4489, allocations: 170 MB / 1.285 GB, free: 11.22 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002966/0.4519, allocations: 1.413 MB / 1.286 GB, free: 9.805 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.0001876/0.4521, allocations: 39.83 kB / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.768e-05/0.4521, allocations: 0 / 1.286 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001868/0.4523, allocations: 11.92 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001325/0.4524, allocations: 23.86 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 4.258e-06/0.4524, allocations: 0 / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.283e-05/0.4525, allocations: 15.98 kB / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 5.679e-05/0.4526, allocations: 0 / 1.286 GB, free: 9.715 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 3.629e-05/0.4526, allocations: 11.88 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 6.502e-05/0.4527, allocations: 15.92 kB / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 2.044e-05/0.4527, allocations: 0 / 1.286 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 5.322e-05/0.4528, allocations: 12 kB / 1.286 GB, free: 9.676 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 5.458e-05/0.4528, allocations: 7.984 kB / 1.286 GB, free: 9.668 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.522e-05/0.4528, allocations: 7.938 kB / 1.286 GB, free: 9.66 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001194/0.4529, allocations: 31.84 kB / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 5.461e-06/0.453, allocations: 0 / 1.286 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of FrontEnd: time 4.519e-06/0.453, allocations: 4 kB / 1.286 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 9.759e-06/0.453, allocations: 0 / 1.286 GB, free: 9.625 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0004632/0.4534, allocations: 254.2 kB / 1.286 GB, free: 9.344 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.303e-05/0.4535, allocations: 11.97 kB / 1.286 GB, free: 9.332 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.385e-05/0.4535, allocations: 8.891 kB / 1.286 GB, free: 9.324 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002858/0.4538, allocations: 122.5 kB / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.068e-05/0.4538, allocations: 384 / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.192e-05/0.4538, allocations: 384 / 1.287 GB, free: 9.18 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001021/0.4539, allocations: 38.19 kB / 1.287 GB, free: 9.137 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.107e-06/0.4539, allocations: 4.125 kB / 1.287 GB, free: 9.133 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.467e-05/0.4539, allocations: 7.922 kB / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.343e-05/0.454, allocations: 0 / 1.287 GB, free: 9.125 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.634e-05/0.454, allocations: 8 kB / 1.287 GB, free: 9.117 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000209/0.4542, allocations: 128.8 kB / 1.287 GB, free: 8.949 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 5.275e-05/0.4543, allocations: 14.58 kB / 1.287 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.459e-05/0.4543, allocations: 8.922 kB / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.13e-05/0.4543, allocations: 0 / 1.287 GB, free: 8.914 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.2e-05/0.4543, allocations: 34.5 kB / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=1): time 9.01e-07/0.4543, allocations: 0 / 1.287 GB, free: 8.871 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1): time 0.0001663/0.4545, allocations: 49.58 kB / 1.287 GB, free: 8.816 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.4546, allocations: 55.53 kB / 1.287 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.4547, allocations: 113.8 kB / 1.287 GB, free: 8.629 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 2.658e-05/0.4547, allocations: 29.7 kB / 1.287 GB, free: 8.594 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 5.11e-05/0.4548, allocations: 84.14 kB / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.315e-05/0.4548, allocations: 0 / 1.287 GB, free: 8.508 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.004e-05/0.4548, allocations: 13.72 kB / 1.287 GB, free: 8.488 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001584/0.455, allocations: 314.8 kB / 1.287 GB, free: 8.172 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.753e-05/0.455, allocations: 4 kB / 1.287 GB, free: 8.168 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.007e-06/0.455, allocations: 8 kB / 1.287 GB, free: 8.16 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.073e-05/0.455, allocations: 12.8 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.455, allocations: 0 / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of matching and sorting (n=1) (initialization): time 7.58e-05/0.4551, allocations: 45.64 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.522e-05/0.4551, allocations: 4 kB / 1.287 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.446e-06/0.4551, allocations: 3.938 kB / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/0.4551, allocations: 0 / 1.287 GB, free: 8.086 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.502e-05/0.4552, allocations: 4 kB / 1.287 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.209e-06/0.4552, allocations: 4.094 kB / 1.287 GB, free: 8.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.463e-05/0.4552, allocations: 4 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.4552, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 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 9.023e-05/0.4553, allocations: 105.8 kB / 1.288 GB, free: 7.961 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.526e-06/0.4553, allocations: 4 kB / 1.288 GB, free: 7.957 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001041/0.4554, allocations: 56.97 kB / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.172e-06/0.4554, allocations: 0 / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.4554, allocations: 0 / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.494e-06/0.4554, allocations: 0 / 1.288 GB, free: 7.895 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001189/0.4556, allocations: 132.7 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.42e-07/0.4556, allocations: 0 / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.61e-05/0.4556, allocations: 7.984 kB / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.4556, allocations: 0 / 1.288 GB, free: 7.715 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.4556, allocations: 3.938 kB / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.11e-07/0.4556, allocations: 0 / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.4556, allocations: 0 / 1.288 GB, free: 7.711 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.188e-05/0.4557, allocations: 69.03 kB / 1.288 GB, free: 7.625 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.153e-05/0.4557, allocations: 7.984 kB / 1.288 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.427e-05/0.4557, allocations: 3.938 kB / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.097e-06/0.4557, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.63e-05/0.4557, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.024e-06/0.4557, allocations: 0 / 1.288 GB, free: 7.613 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 7.574e-05/0.4558, allocations: 95.27 kB / 1.288 GB, free: 7.52 MB / 0.9825 GB Notification: Performance of sort global known variables: time 9e-08/0.4558, allocations: 4 kB / 1.288 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0001929/0.456, allocations: 0 / 1.288 GB, free: 7.516 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 (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.0002476/0.4562, allocations: 116.2 kB / 1.288 GB, free: 7.398 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.388e-05/0.4563, allocations: 11.98 kB / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 5.62e-06/0.4563, allocations: 0 / 1.288 GB, free: 7.387 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 9.608e-06/0.4563, allocations: 3.938 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001477/0.4565, allocations: 14.28 kB / 1.288 GB, free: 7.371 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003291/0.4568, allocations: 135.4 kB / 1.288 GB, free: 7.207 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003764/0.4572, allocations: 0.6807 MB / 1.289 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.235e-05/0.4572, allocations: 7.438 kB / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of SimCode: time 3.11e-07/0.4572, allocations: 0 / 1.289 GB, free: 6.492 MB / 0.9825 GB Notification: Performance of Templates: time 0.002556/0.4598, allocations: 0.776 MB / 1.29 GB, free: 5.723 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; mkfifo Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe ; head -c 1048576 < Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe >> ../files/Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.sim & ./Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 12.183818465011427]