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.001/0.001, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.0009473/0.0009473, allocations: 169 kB / 23.49 MB, free: 1.055 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.038/1.038, allocations: 177.1 MB / 203.8 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.074/2.074, allocations: 429.5 MB / 0.6736 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.473e-06/1.473e-06, allocations: 0.875 kB / 0.8782 GB, free: 6.695 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.582e-05/2.729e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.691 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.IO.Files.Examples.WeeklySchedule): time 0.002581/0.002608, allocations: 1.558 MB / 0.8797 GB, free: 5.145 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001417/0.004026, allocations: 1.252 MB / 0.8809 GB, free: 3.891 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.004103, allocations: 5.281 kB / 0.8809 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001886/0.004292, allocations: 19.86 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002043/0.004496, allocations: 39.72 kB / 0.881 GB, free: 3.828 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001596/0.004656, allocations: 53.25 kB / 0.881 GB, free: 3.777 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001841/0.00484, allocations: 157.1 kB / 0.8812 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001443/0.004984, allocations: 29.23 kB / 0.8812 GB, free: 3.598 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001349/0.005119, allocations: 107.7 kB / 0.8813 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001158/0.005235, allocations: 51.83 kB / 0.8813 GB, free: 3.441 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.127e-05/0.005266, allocations: 8 kB / 0.8814 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.59e-05/0.005332, allocations: 26.2 kB / 0.8814 GB, free: 3.41 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 7.256e-05/0.005404, allocations: 51.83 kB / 0.8814 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.048e-05/0.005465, allocations: 39.89 kB / 0.8815 GB, free: 3.32 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000253/0.005718, allocations: 187.3 kB / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.955e-06/0.005721, allocations: 0 / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.152e-06/0.005722, allocations: 2.312 kB / 0.8816 GB, free: 3.137 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.689e-06/0.005727, allocations: 0 / 0.8816 GB, free: 3.137 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.0005938/0.006321, allocations: 0.5114 MB / 0.8821 GB, free: 2.59 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.618e-05/0.006357, allocations: 8.031 kB / 0.8822 GB, free: 2.582 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.288e-05/0.00644, allocations: 20.84 kB / 0.8822 GB, free: 2.562 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002804/0.00672, allocations: 212.2 kB / 0.8824 GB, free: 2.328 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002219/0.006942, allocations: 214.2 kB / 0.8826 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.036e-05/0.006972, allocations: 12.36 kB / 0.8826 GB, free: 2.059 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002525/0.007225, allocations: 197.7 kB / 0.8828 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.745e-06/0.007233, allocations: 192 / 0.8828 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.267e-05/0.007255, allocations: 12.12 kB / 0.8828 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.609e-05/0.007291, allocations: 11.98 kB / 0.8828 GB, free: 1.809 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.936e-05/0.007341, allocations: 19.92 kB / 0.8828 GB, free: 1.789 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006942/0.008035, allocations: 423.4 kB / 0.8832 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.891e-05/0.008094, allocations: 31 kB / 0.8833 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.285e-05/0.008127, allocations: 19.69 kB / 0.8833 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.008151, allocations: 7.984 kB / 0.8833 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.008174, allocations: 33.39 kB / 0.8833 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.008175, allocations: 0 / 0.8833 GB, free: 1.223 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002267/0.008402, allocations: 77.59 kB / 0.8834 GB, free: 1.141 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.211e-05/0.008434, allocations: 59.5 kB / 0.8834 GB, free: 1.07 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001827/0.008617, allocations: 262.7 kB / 0.8837 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.297e-05/0.00864, allocations: 29.7 kB / 0.8837 GB, free: 0.7578 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 8.314e-05/0.008723, allocations: 186.8 kB / 0.8839 GB, free: 0.5703 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.008746, allocations: 27.75 kB / 0.8839 GB, free: 0.543 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.911e-05/0.008795, allocations: 39.36 kB / 0.884 GB, free: 0.4961 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001464/0.008941, allocations: 0.504 MB / 0.8845 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.158e-05/0.008973, allocations: 8 kB / 0.8845 GB, free: 15.97 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.453e-05/0.009057, allocations: 112.2 kB / 0.8846 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001348/0.009192, allocations: 156.1 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.009196, allocations: 4 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001943/0.00939, allocations: 125.3 kB / 0.8848 GB, free: 15.48 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.832e-05/0.009408, allocations: 10.17 kB / 0.8849 GB, free: 15.47 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.973e-06/0.009415, allocations: 4 kB / 0.8849 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.537e-05/0.009431, allocations: 4 kB / 0.8849 GB, free: 15.46 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.239e-05/0.009523, allocations: 23.94 kB / 0.8849 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.657e-06/0.009532, allocations: 7.984 kB / 0.8849 GB, free: 15.43 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.56e-05/0.009587, allocations: 12.31 kB / 0.8849 GB, free: 15.42 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.082e-05/0.009598, allocations: 8 kB / 0.8849 GB, free: 15.41 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.964e-05/0.009688, allocations: 168.5 kB / 0.8851 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.995e-05/0.009738, allocations: 19.91 kB / 0.8851 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001783/0.009916, allocations: 95.02 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.627e-06/0.00992, allocations: 4 kB / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.196e-06/0.009923, allocations: 0 / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.009926, allocations: 0 / 0.8852 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001841/0.01011, allocations: 180.4 kB / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.01011, allocations: 0 / 0.8854 GB, free: 14.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.217e-05/0.01015, allocations: 19.88 kB / 0.8854 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.01016, allocations: 4 kB / 0.8854 GB, free: 14.88 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.648e-06/0.01017, allocations: 8 kB / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.01017, allocations: 0 / 0.8854 GB, free: 14.87 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.114e-06/0.01017, allocations: 3.984 kB / 0.8854 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.01034, allocations: 224.2 kB / 0.8856 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.81e-05/0.01036, allocations: 11.91 kB / 0.8856 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.599e-05/0.01037, allocations: 0 / 0.8856 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001362/0.01051, allocations: 11.98 kB / 0.8856 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.084e-05/0.01053, allocations: 11.98 kB / 0.8856 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.208e-05/0.01055, allocations: 7.984 kB / 0.8856 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001002/0.01065, allocations: 185.4 kB / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7e-08/0.01065, allocations: 0 / 0.8858 GB, free: 14.4 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000305/0.01096, allocations: 31.95 kB / 0.8859 GB, free: 14.37 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.000231/0.01119, allocations: 134.4 kB / 0.886 GB, free: 14.23 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0001397/0.01133, allocations: 55.61 kB / 0.886 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.01133, allocations: 0 / 0.886 GB, free: 14.17 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.127e-05/0.01136, allocations: 27.67 kB / 0.8861 GB, free: 14.14 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003066/0.01167, allocations: 35.91 kB / 0.8861 GB, free: 14.11 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004333/0.0121, allocations: 254.9 kB / 0.8863 GB, free: 13.82 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.78e-05/0.01216, allocations: 79.33 kB / 0.8864 GB, free: 13.73 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 0.0001018/0.01226, allocations: 49.5 kB / 0.8865 GB, free: 13.68 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.276e-05/0.01229, allocations: 20.5 kB / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of SimCode: time 7.61e-07/0.01229, allocations: 0 / 0.8865 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of Templates: time 0.004834/0.01713, allocations: 2.45 MB / 0.8889 GB, free: 11.25 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.387367682997137]