Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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.001304/0.001304, allocations: 92.22 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.001332/0.001332, allocations: 173 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 0.9676/0.9676, allocations: 177.2 MB / 203.4 MB, free: 5.609 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.042/2.042, allocations: 429.5 MB / 0.6733 GB, free: 4.035 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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.[0-9,]+.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.744e-06/1.744e-06, allocations: 0 / 0.8782 GB, free: 6.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.961e-05/2.135e-05, allocations: 2.312 kB / 0.8782 GB, free: 6.273 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.001613/0.001635, allocations: 1.319 MB / 0.8795 GB, free: 4.961 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.0007544/0.002389, allocations: 0.8683 MB / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.619e-05/0.002415, allocations: 0 / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 3.883e-05/0.002454, allocations: 0 / 0.8803 GB, free: 4.094 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 0.0002412/0.002695, allocations: 9.359 kB / 0.8803 GB, free: 4.086 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001329/0.002828, allocations: 57.7 kB / 0.8804 GB, free: 4.031 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 6.895e-05/0.002897, allocations: 21.12 kB / 0.8804 GB, free: 4.012 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 3.461e-05/0.002932, allocations: 4.875 kB / 0.8804 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 7.222e-05/0.003004, allocations: 19.92 kB / 0.8804 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.562e-05/0.00308, allocations: 9.328 kB / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 1.581e-05/0.003096, allocations: 0 / 0.8804 GB, free: 3.98 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 3.837e-05/0.003134, allocations: 4 kB / 0.8804 GB, free: 3.977 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.518e-05/0.003179, allocations: 7.984 kB / 0.8804 GB, free: 3.969 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 2.189e-05/0.003201, allocations: 5.5 kB / 0.8805 GB, free: 3.965 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 9.187e-05/0.003293, allocations: 35.78 kB / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.255e-06/0.003295, allocations: 0 / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of FrontEnd: time 6.71e-07/0.003296, allocations: 0 / 0.8805 GB, free: 3.93 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.518e-06/0.0033, allocations: 1.5 kB / 0.8805 GB, free: 3.93 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.00025/0.00355, allocations: 352.7 kB / 0.8808 GB, free: 3.547 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.003587, allocations: 12.03 kB / 0.8808 GB, free: 3.535 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.832e-05/0.003645, allocations: 120.1 kB / 0.881 GB, free: 3.418 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.678e-05/0.003742, allocations: 236.9 kB / 0.8812 GB, free: 3.16 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.013e-05/0.003792, allocations: 238.8 kB / 0.8814 GB, free: 2.926 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.339e-05/0.003845, allocations: 238.8 kB / 0.8816 GB, free: 2.691 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.533e-05/0.003901, allocations: 152.8 kB / 0.8818 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.507e-05/0.003926, allocations: 119.4 kB / 0.8819 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.797e-05/0.003974, allocations: 242.7 kB / 0.8821 GB, free: 2.184 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.483e-05/0.004029, allocations: 242.8 kB / 0.8824 GB, free: 1.945 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.297e-05/0.004081, allocations: 246.3 kB / 0.8826 GB, free: 1.703 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002933/0.004375, allocations: 0.572 MB / 0.8832 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.087e-05/0.004456, allocations: 261.4 kB / 0.8834 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.278e-05/0.004488, allocations: 130.8 kB / 0.8835 GB, free: 0.6953 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.004516, allocations: 123.2 kB / 0.8836 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.954e-05/0.004555, allocations: 156.6 kB / 0.8838 GB, free: 420 kB / 0.8386 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.004556, allocations: 0 / 0.8838 GB, free: 420 kB / 0.8386 GB Notification: Performance of matching and sorting (n=0): time 5.623e-05/0.004612, allocations: 29.7 kB / 0.8838 GB, free: 384 kB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.278e-05/0.004665, allocations: 170.6 kB / 0.884 GB, free: 200 kB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001036/0.004769, allocations: 173.9 kB / 0.8841 GB, free: 8 kB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.00479, allocations: 25.7 kB / 0.8842 GB, free: 15.98 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 3.96e-05/0.00483, allocations: 130.9 kB / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.004832, allocations: 0 / 0.8843 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.77e-05/0.00486, allocations: 23.36 kB / 0.8843 GB, free: 15.81 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001013/0.004961, allocations: 0.4884 MB / 0.8848 GB, free: 15.31 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.008e-05/0.004981, allocations: 11.88 kB / 0.8848 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.005009, allocations: 29.7 kB / 0.8848 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.205e-05/0.005041, allocations: 15.92 kB / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005043, allocations: 0 / 0.8849 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2) (initialization): time 9.455e-05/0.005138, allocations: 37.7 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.233e-05/0.00515, allocations: 4 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.005155, allocations: 0 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.136e-05/0.005167, allocations: 0 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.825e-06/0.005169, allocations: 4 kB / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.248e-06/0.005174, allocations: 128 / 0.8849 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.43e-05/0.005238, allocations: 15.83 kB / 0.8849 GB, free: 15.18 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.416e-06/0.005246, allocations: 3.984 kB / 0.8849 GB, free: 15.18 MB / 0.8542 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): 0 * Array equations: 1 * 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.315e-05/0.00533, allocations: 283.7 kB / 0.8852 GB, free: 14.89 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.244e-05/0.005372, allocations: 148.9 kB / 0.8853 GB, free: 14.73 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.951e-05/0.005411, allocations: 152.4 kB / 0.8855 GB, free: 14.58 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.28e-05/0.005464, allocations: 268 kB / 0.8857 GB, free: 14.31 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.356e-05/0.005518, allocations: 268.1 kB / 0.886 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.771e-05/0.005576, allocations: 276 kB / 0.8862 GB, free: 13.77 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001469/0.005722, allocations: 495.9 kB / 0.8867 GB, free: 13.24 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3e-05/0.005752, allocations: 148.9 kB / 0.8869 GB, free: 13.09 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.218e-05/0.005785, allocations: 152.8 kB / 0.887 GB, free: 12.93 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.557e-05/0.00584, allocations: 272.1 kB / 0.8873 GB, free: 12.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.972e-05/0.0059, allocations: 272 kB / 0.8875 GB, free: 12.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.554e-05/0.005955, allocations: 264.1 kB / 0.8878 GB, free: 12.12 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.445e-05/0.00601, allocations: 268.1 kB / 0.888 GB, free: 11.85 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001129/0.006123, allocations: 451.9 kB / 0.8885 GB, free: 11.38 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.006174, allocations: 152.8 kB / 0.8886 GB, free: 11.22 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.995e-05/0.006234, allocations: 264.1 kB / 0.8889 GB, free: 10.96 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.053e-05/0.006284, allocations: 149.2 kB / 0.889 GB, free: 10.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.006343, allocations: 272 kB / 0.8893 GB, free: 10.53 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.17e-05/0.006375, allocations: 152.9 kB / 0.8894 GB, free: 10.38 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.123e-05/0.006416, allocations: 127.2 kB / 0.8895 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.006416, allocations: 0 / 0.8895 GB, free: 10.25 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.00015/0.006566, allocations: 11.92 kB / 0.8895 GB, free: 10.24 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 (0): * Single equations (assignments): 0 * 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.000215/0.006781, allocations: 226.4 kB / 0.8898 GB, free: 10 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 7.513e-05/0.006856, allocations: 15.56 kB / 0.8898 GB, free: 9.984 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.006858, allocations: 4 kB / 0.8898 GB, free: 9.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.392e-06/0.00686, allocations: 4.062 kB / 0.8898 GB, free: 9.977 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003528/0.007212, allocations: 0.7023 MB / 0.8905 GB, free: 9.27 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002415/0.007454, allocations: 217.7 kB / 0.8907 GB, free: 9.027 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.803e-05/0.007482, allocations: 51.36 kB / 0.8907 GB, free: 8.957 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 1.918e-05/0.007501, allocations: 4 kB / 0.8907 GB, free: 8.953 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.372e-05/0.007515, allocations: 8.5 kB / 0.8907 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of SimCode: time 5.81e-07/0.007515, allocations: 0 / 0.8907 GB, free: 8.945 MB / 0.8542 GB Notification: Performance of Templates: time 0.002379/0.009894, allocations: 0.5159 MB / 0.8912 GB, free: 8.449 MB / 0.8542 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.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.183736516162753]