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.0009333/0.0009333, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.001955/0.001955, allocations: 165 kB / 23.82 MB, free: 0.7461 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 0.9083/0.9083, allocations: 177.1 MB / 204.2 MB, free: 5.637 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.78/1.78, allocations: 359 MB / 0.6052 GB, free: 11.01 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-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.[0-9,]+.",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.[0-9,]+.",fileNamePrefix="Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.783e-06/1.783e-06, allocations: 0 / 0.7871 GB, free: 12.53 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.402e-05/1.58e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.52 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.001997/0.002013, allocations: 1.544 MB / 0.7886 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.001071/0.003084, allocations: 1.256 MB / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.973e-05/0.003134, allocations: 0 / 0.7898 GB, free: 9.719 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001765/0.00331, allocations: 24.91 kB / 0.7898 GB, free: 9.695 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 0.0001717/0.003482, allocations: 39.72 kB / 0.7899 GB, free: 9.656 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.000122/0.003604, allocations: 61.42 kB / 0.7899 GB, free: 9.598 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001463/0.00375, allocations: 151.5 kB / 0.7901 GB, free: 9.449 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001143/0.003864, allocations: 41.84 kB / 0.7901 GB, free: 9.41 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 8.884e-05/0.003953, allocations: 103.3 kB / 0.7902 GB, free: 9.312 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.004054, allocations: 51.83 kB / 0.7903 GB, free: 9.262 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.9e-05/0.004083, allocations: 8 kB / 0.7903 GB, free: 9.254 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.631e-05/0.004139, allocations: 23.98 kB / 0.7903 GB, free: 9.23 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 6.021e-05/0.004199, allocations: 55.81 kB / 0.7903 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 5.019e-05/0.00425, allocations: 47.89 kB / 0.7904 GB, free: 9.129 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001908/0.00444, allocations: 175.4 kB / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 1.813e-06/0.004442, allocations: 0 / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.31e-07/0.004443, allocations: 0 / 0.7906 GB, free: 8.957 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.817e-06/0.004447, allocations: 3.938 kB / 0.7906 GB, free: 8.953 MB / 0.7448 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.000632/0.005079, allocations: 0.5159 MB / 0.7911 GB, free: 8.402 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.347e-05/0.005112, allocations: 13.69 kB / 0.7911 GB, free: 8.391 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.918e-05/0.005171, allocations: 20.84 kB / 0.7911 GB, free: 8.371 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002137/0.005385, allocations: 205 kB / 0.7913 GB, free: 8.141 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001086/0.005494, allocations: 214.2 kB / 0.7915 GB, free: 7.883 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.364e-05/0.005517, allocations: 9.281 kB / 0.7915 GB, free: 7.875 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000187/0.005704, allocations: 198 kB / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.005711, allocations: 192 / 0.7917 GB, free: 7.652 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.882e-05/0.00573, allocations: 8.125 kB / 0.7917 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.693e-05/0.005757, allocations: 5.344 kB / 0.7917 GB, free: 7.641 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.198e-05/0.005799, allocations: 27.44 kB / 0.7917 GB, free: 7.617 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005712/0.00637, allocations: 421 kB / 0.7921 GB, free: 7.172 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.374e-05/0.006424, allocations: 34.98 kB / 0.7922 GB, free: 7.125 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.752e-05/0.006451, allocations: 16.59 kB / 0.7922 GB, free: 7.105 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.006477, allocations: 4 kB / 0.7922 GB, free: 7.102 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.488e-05/0.006502, allocations: 43.06 kB / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=8): time 1.001e-06/0.006503, allocations: 0 / 0.7922 GB, free: 7.051 MB / 0.7448 GB Notification: Performance of matching and sorting (n=8): time 0.0001995/0.006702, allocations: 89.62 kB / 0.7923 GB, free: 6.957 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.493e-05/0.006727, allocations: 51.41 kB / 0.7924 GB, free: 6.895 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001672/0.006895, allocations: 266.9 kB / 0.7926 GB, free: 6.613 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 2.232e-05/0.006917, allocations: 26.33 kB / 0.7926 GB, free: 6.582 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 7.497e-05/0.006992, allocations: 171.5 kB / 0.7928 GB, free: 6.41 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.00702, allocations: 31.73 kB / 0.7928 GB, free: 6.379 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.00706, allocations: 39.98 kB / 0.7929 GB, free: 6.332 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.007186, allocations: 0.504 MB / 0.7934 GB, free: 5.816 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.409e-05/0.00721, allocations: 5.062 kB / 0.7934 GB, free: 5.812 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.798e-05/0.007288, allocations: 124.2 kB / 0.7935 GB, free: 5.641 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001195/0.007408, allocations: 152.5 kB / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.00741, allocations: 0 / 0.7936 GB, free: 5.445 MB / 0.7448 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001439/0.007554, allocations: 120.3 kB / 0.7937 GB, free: 5.324 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.007568, allocations: 8 kB / 0.7938 GB, free: 5.316 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.885e-06/0.007576, allocations: 8.844 kB / 0.7938 GB, free: 5.309 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.078e-05/0.007597, allocations: 11.92 kB / 0.7938 GB, free: 5.297 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.044e-05/0.007678, allocations: 18.22 kB / 0.7938 GB, free: 5.281 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.007684, allocations: 4 kB / 0.7938 GB, free: 5.277 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.722e-05/0.007722, allocations: 15.88 kB / 0.7938 GB, free: 5.262 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.638e-06/0.007731, allocations: 8 kB / 0.7938 GB, free: 5.254 MB / 0.7448 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 7.344e-05/0.007805, allocations: 168.5 kB / 0.794 GB, free: 5.078 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.509e-05/0.00784, allocations: 26.78 kB / 0.794 GB, free: 5.055 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001338/0.007974, allocations: 91.28 kB / 0.7941 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.007976, allocations: 0 / 0.7941 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.836e-06/0.007979, allocations: 0 / 0.7941 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.007981, allocations: 0 / 0.7941 GB, free: 4.965 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001381/0.008119, allocations: 192.4 kB / 0.7943 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.52e-07/0.00812, allocations: 0 / 0.7943 GB, free: 4.742 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.738e-05/0.008147, allocations: 12 kB / 0.7943 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.008149, allocations: 1.438 kB / 0.7943 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.951e-06/0.008155, allocations: 0 / 0.7943 GB, free: 4.73 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.764e-06/0.008157, allocations: 4 kB / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008158, allocations: 0 / 0.7943 GB, free: 4.727 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001227/0.00828, allocations: 228.4 kB / 0.7945 GB, free: 4.484 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 1.37e-05/0.008294, allocations: 11.91 kB / 0.7945 GB, free: 4.473 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.286e-05/0.008307, allocations: 12.5 kB / 0.7945 GB, free: 4.461 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.345e-05/0.0084, allocations: 12.55 kB / 0.7945 GB, free: 4.449 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.545e-05/0.008416, allocations: 4.766 kB / 0.7946 GB, free: 4.445 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.555e-05/0.008431, allocations: 11.98 kB / 0.7946 GB, free: 4.434 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 8.336e-05/0.008515, allocations: 185.4 kB / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of sort global known variables: time 5.1e-08/0.008515, allocations: 1.156 kB / 0.7947 GB, free: 4.254 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001956/0.00871, allocations: 31.94 kB / 0.7948 GB, free: 4.223 MB / 0.7448 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.000179/0.008889, allocations: 129.8 kB / 0.7949 GB, free: 4.098 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001052/0.008994, allocations: 55.27 kB / 0.7949 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.493e-06/0.008996, allocations: 0 / 0.7949 GB, free: 4.043 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 2.346e-05/0.009019, allocations: 27.67 kB / 0.795 GB, free: 4.012 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.009236, allocations: 38.25 kB / 0.795 GB, free: 3.977 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003367/0.009573, allocations: 266.6 kB / 0.7953 GB, free: 3.684 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.439e-05/0.009617, allocations: 75.33 kB / 0.7953 GB, free: 3.59 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 6.985e-05/0.009687, allocations: 45.81 kB / 0.7954 GB, free: 3.543 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.996e-05/0.009717, allocations: 20.5 kB / 0.7954 GB, free: 3.523 MB / 0.7448 GB Notification: Performance of SimCode: time 4.61e-07/0.009718, allocations: 4.969 kB / 0.7954 GB, free: 3.52 MB / 0.7448 GB Notification: Performance of Templates: time 0.003831/0.01355, allocations: 2.477 MB / 0.7978 GB, free: 1.09 MB / 0.7448 GB " [Timeout remaining time 300] 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=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.017814768012613]