Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001496/0.001496, allocations: 89.06 kB / 19.65 MB, free: 276 kB / 13.93 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.001618/0.001618, allocations: 169 kB / 23.02 MB, free: 1.547 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.037/1.037, allocations: 177.1 MB / 203.4 MB, free: 5.641 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.154/2.154, allocations: 429.5 MB / 0.6732 GB, free: 4.043 MB / 0.6355 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 0.8781 GB, free: 6.379 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.345e-05/2.484e-05, allocations: 2.312 kB / 0.8781 GB, free: 6.375 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002102/0.002127, allocations: 1.554 MB / 0.8797 GB, free: 4.832 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.003304, allocations: 1.255 MB / 0.8809 GB, free: 3.578 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.42e-05/0.003378, allocations: 3.938 kB / 0.8809 GB, free: 3.574 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001999/0.003578, allocations: 28.81 kB / 0.8809 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.000201/0.003779, allocations: 39.77 kB / 0.881 GB, free: 3.508 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001522/0.003931, allocations: 57.02 kB / 0.881 GB, free: 3.453 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001543/0.004085, allocations: 148.6 kB / 0.8811 GB, free: 3.309 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001326/0.004218, allocations: 33.27 kB / 0.8812 GB, free: 3.277 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001063/0.004324, allocations: 107.7 kB / 0.8813 GB, free: 3.172 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.893e-05/0.004423, allocations: 44.53 kB / 0.8813 GB, free: 3.129 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.058e-05/0.004454, allocations: 12 kB / 0.8813 GB, free: 3.117 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.259e-05/0.004517, allocations: 28.91 kB / 0.8814 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.279e-05/0.004579, allocations: 51.81 kB / 0.8814 GB, free: 3.039 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.588e-05/0.004635, allocations: 48.58 kB / 0.8815 GB, free: 2.992 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002166/0.004852, allocations: 175.4 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.004854, allocations: 0.625 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.332e-06/0.004855, allocations: 3.438 kB / 0.8816 GB, free: 2.82 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 6.171e-06/0.004862, allocations: 0 / 0.8816 GB, free: 2.82 MB / 0.8386 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.0005463/0.005408, allocations: 0.5114 MB / 0.8821 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.831e-05/0.005446, allocations: 8.031 kB / 0.8821 GB, free: 2.266 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.999e-05/0.005526, allocations: 24.84 kB / 0.8822 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002422/0.005768, allocations: 205.7 kB / 0.8824 GB, free: 2.016 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001407/0.005909, allocations: 218.2 kB / 0.8826 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.498e-05/0.005934, allocations: 8.375 kB / 0.8826 GB, free: 1.746 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002246/0.006159, allocations: 198.2 kB / 0.8828 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.775e-06/0.006166, allocations: 0.7812 kB / 0.8828 GB, free: 1.52 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.978e-05/0.006186, allocations: 17.09 kB / 0.8828 GB, free: 1.504 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.027e-05/0.006216, allocations: 4 kB / 0.8828 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.015e-05/0.006257, allocations: 23.92 kB / 0.8828 GB, free: 1.477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006029/0.006859, allocations: 425.6 kB / 0.8832 GB, free: 1.027 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/0.006911, allocations: 35 kB / 0.8832 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.00694, allocations: 23.67 kB / 0.8833 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.49e-05/0.006965, allocations: 0 / 0.8833 GB, free: 0.9531 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.59e-05/0.00699, allocations: 41.39 kB / 0.8833 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.006991, allocations: 0 / 0.8833 GB, free: 0.9023 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001961/0.007188, allocations: 77.58 kB / 0.8834 GB, free: 0.8203 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.606e-05/0.007214, allocations: 59.34 kB / 0.8834 GB, free: 0.75 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001552/0.007369, allocations: 258.8 kB / 0.8837 GB, free: 488 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.882e-05/0.007388, allocations: 25.7 kB / 0.8837 GB, free: 456 kB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.726e-05/0.007465, allocations: 182.8 kB / 0.8839 GB, free: 268 kB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.076e-05/0.007486, allocations: 23.8 kB / 0.8839 GB, free: 244 kB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.966e-05/0.007525, allocations: 43.36 kB / 0.8839 GB, free: 192 kB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001307/0.007656, allocations: 0.5 MB / 0.8844 GB, free: 15.68 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.007683, allocations: 11.98 kB / 0.8844 GB, free: 15.66 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001236/0.007807, allocations: 120.2 kB / 0.8846 GB, free: 15.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001143/0.007921, allocations: 152.1 kB / 0.8847 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.686e-06/0.007924, allocations: 3.938 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001488/0.008072, allocations: 129.6 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.008086, allocations: 4 kB / 0.8848 GB, free: 15.16 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.008092, allocations: 4 kB / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.008111, allocations: 4 kB / 0.8848 GB, free: 15.15 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.227e-05/0.008193, allocations: 31.92 kB / 0.8849 GB, free: 15.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.582e-06/0.0082, allocations: 4 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.898e-05/0.008239, allocations: 8 kB / 0.8849 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.008248, allocations: 4 kB / 0.8849 GB, free: 15.1 MB / 0.8542 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 8.422e-05/0.008332, allocations: 172.4 kB / 0.8851 GB, free: 14.92 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.544e-05/0.008368, allocations: 23.91 kB / 0.8851 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001525/0.00852, allocations: 103.2 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.797e-06/0.008524, allocations: 4 kB / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.408e-06/0.008528, allocations: 0 / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.008531, allocations: 0 / 0.8852 GB, free: 14.79 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001459/0.008677, allocations: 172.5 kB / 0.8853 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.008679, allocations: 0 / 0.8853 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.667e-05/0.008715, allocations: 19.92 kB / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.593e-06/0.008717, allocations: 0 / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.314e-06/0.008724, allocations: 4 kB / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.743e-06/0.008726, allocations: 0 / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.008728, allocations: 400 / 0.8854 GB, free: 14.56 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001416/0.008869, allocations: 235.8 kB / 0.8856 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.639e-05/0.008886, allocations: 19.83 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.194e-05/0.008897, allocations: 0 / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.481e-05/0.008992, allocations: 12 kB / 0.8856 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.943e-05/0.009012, allocations: 7.984 kB / 0.8856 GB, free: 14.27 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.428e-05/0.009026, allocations: 7.984 kB / 0.8856 GB, free: 14.26 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 8.522e-05/0.009111, allocations: 185.4 kB / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009111, allocations: 0 / 0.8858 GB, free: 14.08 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002093/0.009321, allocations: 31.94 kB / 0.8858 GB, free: 14.05 MB / 0.8542 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.0002051/0.009526, allocations: 128.5 kB / 0.886 GB, free: 13.92 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001204/0.009646, allocations: 59.47 kB / 0.886 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.754e-06/0.009648, allocations: 0.75 kB / 0.886 GB, free: 13.86 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 2.832e-05/0.009676, allocations: 27.67 kB / 0.8861 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000227/0.009903, allocations: 35.92 kB / 0.8861 GB, free: 13.79 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003585/0.01026, allocations: 254.9 kB / 0.8863 GB, free: 13.51 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.639e-05/0.01031, allocations: 79.31 kB / 0.8864 GB, free: 13.41 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 7.118e-05/0.01038, allocations: 48.81 kB / 0.8865 GB, free: 13.36 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.915e-05/0.01041, allocations: 20.48 kB / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of SimCode: time 6.32e-07/0.01041, allocations: 0 / 0.8865 GB, free: 13.34 MB / 0.8542 GB Notification: Performance of Templates: time 0.003945/0.01435, allocations: 2.445 MB / 0.8889 GB, free: 10.94 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; mkfifo Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe ; head -c 1048576 < Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe >> ../files/Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.sim & ./Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Utilities.IO.Files.Examples.WeeklySchedule_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.512846500147134]