Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001701/0.001701, allocations: 80.41 kB / 20.23 MB, free: 4.199 MB / 18.57 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.001547/0.001547, allocations: 161.7 kB / 23.54 MB, free: 0.8906 MB / 18.57 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.462/1.462, allocations: 177.1 MB / 203.9 MB, free: 5.602 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.814/2.814, allocations: 377.8 MB / 0.6232 GB, free: 8.535 MB / 0.5886 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.WeeklySchedule,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|weeSchFil.y.1.|weeSchFil.y.2.|weeSchFil.y.3.|weeSchFil.y.4.",fileNamePrefix="Buildings_12_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_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.8108 GB, free: 2.129 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.611e-05/2.77e-05, allocations: 8.641 kB / 0.8108 GB, free: 2.121 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002978/0.003005, allocations: 1.506 MB / 0.8123 GB, free: 0.6211 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.00195/0.004956, allocations: 1.226 MB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.357e-05/0.005009, allocations: 1.25 kB / 0.8135 GB, free: 15.39 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 0.0001745/0.005184, allocations: 27.78 kB / 0.8135 GB, free: 15.36 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002139/0.005398, allocations: 47.64 kB / 0.8135 GB, free: 15.32 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001758/0.005573, allocations: 50.36 kB / 0.8136 GB, free: 15.27 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 0.0002304/0.005804, allocations: 151.5 kB / 0.8137 GB, free: 15.12 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001327/0.005936, allocations: 37.27 kB / 0.8138 GB, free: 15.09 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001628/0.006099, allocations: 109.2 kB / 0.8139 GB, free: 14.98 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001339/0.006233, allocations: 39.89 kB / 0.8139 GB, free: 14.94 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 4.025e-05/0.006273, allocations: 12 kB / 0.8139 GB, free: 14.93 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 7.898e-05/0.006352, allocations: 27.94 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 8.62e-05/0.006439, allocations: 53.31 kB / 0.814 GB, free: 14.85 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 8.679e-05/0.006525, allocations: 51.83 kB / 0.814 GB, free: 14.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 0.0003379/0.006863, allocations: 215.3 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 1.974e-06/0.006865, allocations: 0 / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of FrontEnd: time 3.086e-06/0.006868, allocations: 4.516 kB / 0.8142 GB, free: 14.59 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 4.198e-06/0.006872, allocations: 0.5312 kB / 0.8142 GB, free: 14.59 MB / 0.7761 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.0007454/0.007618, allocations: 426.4 kB / 0.8147 GB, free: 14.14 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.172e-05/0.00765, allocations: 8.031 kB / 0.8147 GB, free: 14.13 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.248e-05/0.007742, allocations: 21.5 kB / 0.8147 GB, free: 14.11 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003378/0.00808, allocations: 201.4 kB / 0.8149 GB, free: 13.89 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000231/0.008311, allocations: 222.7 kB / 0.8151 GB, free: 13.62 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.464e-05/0.008345, allocations: 17.69 kB / 0.8151 GB, free: 13.61 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004507/0.008796, allocations: 260.9 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.008804, allocations: 1.344 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.962e-05/0.008834, allocations: 8.109 kB / 0.8154 GB, free: 13.32 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.833e-05/0.008862, allocations: 12 kB / 0.8154 GB, free: 13.3 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.255e-05/0.008955, allocations: 40.91 kB / 0.8154 GB, free: 13.27 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001041/0.009995, allocations: 378.1 kB / 0.8158 GB, free: 12.87 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 7.897e-05/0.01007, allocations: 31.48 kB / 0.8158 GB, free: 12.83 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.994e-05/0.01012, allocations: 20.84 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.01016, allocations: 8 kB / 0.8158 GB, free: 12.8 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.964e-05/0.0102, allocations: 40.17 kB / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=8): time 9.72e-07/0.0102, allocations: 0 / 0.8159 GB, free: 12.75 MB / 0.7761 GB Notification: Performance of matching and sorting (n=8): time 0.0003195/0.01052, allocations: 109.6 kB / 0.816 GB, free: 12.64 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.311e-05/0.01057, allocations: 51.41 kB / 0.816 GB, free: 12.57 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002593/0.01083, allocations: 217 kB / 0.8162 GB, free: 12.35 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 3.465e-05/0.01086, allocations: 25.7 kB / 0.8163 GB, free: 12.32 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001018/0.01096, allocations: 132.1 kB / 0.8164 GB, free: 12.18 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 2.91e-05/0.01099, allocations: 26.88 kB / 0.8164 GB, free: 12.16 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.791e-05/0.01105, allocations: 33.7 kB / 0.8164 GB, free: 12.12 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.000175/0.01122, allocations: 326.8 kB / 0.8167 GB, free: 11.79 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.243e-05/0.01129, allocations: 31.97 kB / 0.8168 GB, free: 11.76 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001272/0.01141, allocations: 98.23 kB / 0.8169 GB, free: 11.63 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002176/0.01163, allocations: 138.2 kB / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.375e-06/0.01163, allocations: 0 / 0.817 GB, free: 11.46 MB / 0.7761 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002869/0.01192, allocations: 163.1 kB / 0.8172 GB, free: 11.3 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.01194, allocations: 11.66 kB / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.01194, allocations: 0 / 0.8172 GB, free: 11.29 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.821e-05/0.01196, allocations: 9.219 kB / 0.8172 GB, free: 11.28 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001062/0.01207, allocations: 24 kB / 0.8172 GB, free: 11.26 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.256e-05/0.01208, allocations: 11.92 kB / 0.8172 GB, free: 11.25 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.01215, allocations: 12.73 kB / 0.8172 GB, free: 11.23 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.496e-05/0.01216, allocations: 8 kB / 0.8172 GB, free: 11.23 MB / 0.7761 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.0001493/0.01231, allocations: 148.2 kB / 0.8174 GB, free: 11.07 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.111e-05/0.01237, allocations: 15.91 kB / 0.8174 GB, free: 11.06 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002441/0.01261, allocations: 119.2 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.175e-06/0.01262, allocations: 0 / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.01262, allocations: 0 / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.01262, allocations: 3.984 kB / 0.8175 GB, free: 10.94 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.01286, allocations: 161.1 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.01286, allocations: 2.938 kB / 0.8177 GB, free: 10.75 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.423e-05/0.01291, allocations: 15.98 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.903e-06/0.01291, allocations: 0 / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.237e-06/0.01292, allocations: 4 kB / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.533e-06/0.01292, allocations: 0 / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.81e-07/0.01292, allocations: 0 / 0.8177 GB, free: 10.73 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002458/0.01317, allocations: 195.3 kB / 0.8179 GB, free: 10.52 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 2.392e-05/0.01319, allocations: 11.91 kB / 0.8179 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.01321, allocations: 4.922 kB / 0.8179 GB, free: 10.51 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002662/0.01348, allocations: 25.08 kB / 0.8179 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.257e-05/0.0135, allocations: 7.984 kB / 0.8179 GB, free: 10.48 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-05/0.01353, allocations: 7.984 kB / 0.8179 GB, free: 10.47 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 0.0001761/0.0137, allocations: 162.6 kB / 0.8181 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.0137, allocations: 0 / 0.8181 GB, free: 10.31 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0003092/0.01401, allocations: 28 kB / 0.8181 GB, free: 10.29 MB / 0.7761 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.0002834/0.0143, allocations: 135.3 kB / 0.8182 GB, free: 10.15 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 0.0001815/0.01448, allocations: 74.02 kB / 0.8183 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 2.074e-06/0.01448, allocations: 0 / 0.8183 GB, free: 10.08 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 4.916e-05/0.01453, allocations: 29.27 kB / 0.8183 GB, free: 10.05 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003363/0.01486, allocations: 38.22 kB / 0.8184 GB, free: 10.02 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005592/0.01542, allocations: 290.2 kB / 0.8186 GB, free: 9.707 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001344/0.01556, allocations: 124 kB / 0.8188 GB, free: 9.57 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 0.0001276/0.01569, allocations: 48.89 kB / 0.8188 GB, free: 9.523 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.067e-05/0.01574, allocations: 24.48 kB / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of SimCode: time 5.41e-07/0.01574, allocations: 3.031 kB / 0.8188 GB, free: 9.5 MB / 0.7761 GB Notification: Performance of Templates: time 0.006062/0.0218, allocations: 2.478 MB / 0.8213 GB, free: 7.074 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Utilities_IO_Files_Examples_WeeklySchedule.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.61183875403367]