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.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.001597/0.001597, allocations: 105.8 kB / 18.84 MB, free: 3.023 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.001685/0.001685, allocations: 188.7 kB / 22.11 MB, free: 4.223 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.47/1.47, allocations: 225.6 MB / 250.8 MB, free: 2.922 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.x/package.mo): time 2.922/2.922, allocations: 495.8 MB / 0.7831 GB, free: 12.31 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.1-maint.12.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.WeeklySchedule7to19,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|sch.y.1.",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.1.",fileNamePrefix="Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.002041/0.002041, allocations: 63.89 kB / 1.137 GB, free: 12.22 MB / 0.92 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9606/0.9627, allocations: 173.6 MB / 1.307 GB, free: 33.79 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19): time 0.002193/0.9649, allocations: 1.393 MB / 1.308 GB, free: 32.82 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.000146/0.965, allocations: 36.34 kB / 1.308 GB, free: 32.8 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.417e-05/0.965, allocations: 3.094 kB / 1.308 GB, free: 32.8 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.9652, allocations: 11.36 kB / 1.308 GB, free: 32.79 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 9.792e-05/0.9653, allocations: 14.61 kB / 1.308 GB, free: 32.78 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 4.268e-06/0.9653, allocations: 0 / 1.308 GB, free: 32.78 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 7.293e-05/0.9654, allocations: 20.84 kB / 1.308 GB, free: 32.77 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.51e-05/0.9654, allocations: 11.28 kB / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.854e-05/0.9655, allocations: 6.844 kB / 1.308 GB, free: 32.76 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 4.908e-05/0.9655, allocations: 12.94 kB / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.397e-05/0.9655, allocations: 0 / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 4.553e-05/0.9656, allocations: 12.19 kB / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 3.936e-05/0.9656, allocations: 3.984 kB / 1.308 GB, free: 32.75 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 1.884e-05/0.9656, allocations: 11 kB / 1.308 GB, free: 32.74 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0001015/0.9657, allocations: 33.58 kB / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.9657, allocations: 2.906 kB / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of FrontEnd: time 1.914e-06/0.9657, allocations: 0 / 1.308 GB, free: 32.73 MB / 1.061 GB Notification: Performance of Transformations before backend: time 4.569e-06/0.9657, allocations: 4 kB / 1.308 GB, free: 32.72 MB / 1.061 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.000286/0.966, allocations: 268.9 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 3.035e-05/0.9661, allocations: 8.844 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.9661, allocations: 0.9375 kB / 1.309 GB, free: 32.44 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.9662, allocations: 115.8 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.638e-06/0.9662, allocations: 4.375 kB / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.943e-06/0.9662, allocations: 384 / 1.309 GB, free: 32.31 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.949e-05/0.9663, allocations: 35.52 kB / 1.309 GB, free: 32.28 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.724e-06/0.9663, allocations: 192 / 1.309 GB, free: 32.28 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.815e-06/0.9663, allocations: 7.938 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.716e-05/0.9663, allocations: 0 / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.914e-05/0.9664, allocations: 6.969 kB / 1.309 GB, free: 32.27 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001054/0.9665, allocations: 130.9 kB / 1.309 GB, free: 32.1 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 3.267e-05/0.9665, allocations: 21.44 kB / 1.309 GB, free: 32.07 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.6e-05/0.9665, allocations: 11.77 kB / 1.309 GB, free: 32.06 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 1.676e-05/0.9665, allocations: 0 / 1.309 GB, free: 32.06 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.596e-05/0.9666, allocations: 37.61 kB / 1.309 GB, free: 32.02 MB / 1.061 GB Notification: Performance of pre-optimization done (n=1): time 8.21e-07/0.9666, allocations: 0 / 1.309 GB, free: 32.02 MB / 1.061 GB Notification: Performance of matching and sorting (n=1): time 0.0001123/0.9667, allocations: 42.55 kB / 1.309 GB, free: 31.98 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.247e-05/0.9667, allocations: 51.41 kB / 1.309 GB, free: 31.92 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.641e-05/0.9668, allocations: 121.5 kB / 1.309 GB, free: 31.81 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 6.262e-06/0.9668, allocations: 25.7 kB / 1.309 GB, free: 31.78 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 2.255e-05/0.9668, allocations: 86.8 kB / 1.309 GB, free: 31.69 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.9668, allocations: 3.953 kB / 1.309 GB, free: 31.69 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.16e-05/0.9668, allocations: 16.59 kB / 1.309 GB, free: 31.67 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 4.815e-05/0.9669, allocations: 318.4 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.292e-05/0.9669, allocations: 2.594 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.352e-06/0.9669, allocations: 3.938 kB / 1.31 GB, free: 31.35 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.201e-05/0.9669, allocations: 10.08 kB / 1.31 GB, free: 31.34 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.9669, allocations: 0 / 1.31 GB, free: 31.34 MB / 1.061 GB Notification: Performance of matching and sorting (n=1) (initialization): time 4.905e-05/0.967, allocations: 43.22 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.226e-05/0.967, allocations: 9.906 kB / 1.31 GB, free: 31.3 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.967, allocations: 3.938 kB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.967, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.452e-05/0.9671, allocations: 2.906 kB / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.487e-06/0.9671, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.262e-05/0.9671, allocations: 0 / 1.31 GB, free: 31.29 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.22e-06/0.9671, allocations: 2.875 kB / 1.31 GB, free: 31.29 MB / 1.061 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.229e-05/0.9671, allocations: 111.5 kB / 1.31 GB, free: 31.18 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.045e-05/0.9671, allocations: 6.766 kB / 1.31 GB, free: 31.17 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.515e-05/0.9672, allocations: 54.11 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.9672, allocations: 2.875 kB / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.9672, allocations: 0 / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.345e-06/0.9672, allocations: 0 / 1.31 GB, free: 31.12 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.677e-05/0.9673, allocations: 133.2 kB / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.9673, allocations: 0 / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.198e-05/0.9673, allocations: 0 / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.183e-06/0.9673, allocations: 0 / 1.31 GB, free: 30.96 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.9673, allocations: 6.781 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.61e-07/0.9673, allocations: 3.938 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.9673, allocations: 4.031 kB / 1.31 GB, free: 30.95 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.096e-05/0.9673, allocations: 61.06 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 8.657e-06/0.9674, allocations: 3.953 kB / 1.31 GB, free: 30.88 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.9674, allocations: 6.656 kB / 1.31 GB, free: 30.87 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.022e-05/0.9674, allocations: 0 / 1.31 GB, free: 30.87 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.969e-06/0.9674, allocations: 3.141 kB / 1.31 GB, free: 30.87 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-06/0.9674, allocations: 0 / 1.31 GB, free: 30.87 MB / 1.061 GB Notification: Performance of sorting global known variables: time 3.783e-05/0.9674, allocations: 98.97 kB / 1.31 GB, free: 30.79 MB / 1.061 GB Notification: Performance of sort global known variables: time 7e-08/0.9674, allocations: 7.344 kB / 1.31 GB, free: 30.78 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0001965/0.9676, allocations: 2.844 kB / 1.31 GB, free: 30.78 MB / 1.061 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.0001688/0.9678, allocations: 117.3 kB / 1.31 GB, free: 30.68 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 6.839e-05/0.9679, allocations: 9 kB / 1.31 GB, free: 30.68 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.9679, allocations: 8.062 kB / 1.31 GB, free: 30.67 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 8.045e-06/0.9679, allocations: 2.969 kB / 1.31 GB, free: 30.67 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.968, allocations: 2.844 kB / 1.31 GB, free: 30.67 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002158/0.9682, allocations: 110.7 kB / 1.31 GB, free: 30.56 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.042e-05/0.9683, allocations: 0.6782 MB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 4.54e-05/0.9684, allocations: 6.281 kB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.732e-05/0.9684, allocations: 7.438 kB / 1.311 GB, free: 29.86 MB / 1.061 GB Notification: Performance of SimCode: time 3.71e-07/0.9684, allocations: 4 kB / 1.311 GB, free: 29.85 MB / 1.061 GB Notification: Performance of Templates: time 0.00254/0.9709, allocations: 0.5064 MB / 1.311 GB, free: 29.74 MB / 1.061 GB " [Timeout remaining time 299] 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=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule7to19_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule7to19.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 9.100449569523335]