Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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.002055/0.002055, allocations: 109.7 kB / 16.45 MB, free: 6.508 MB / 14.72 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.002933/0.002933, allocations: 213.7 kB / 19.43 MB, free: 3.648 MB / 14.72 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.559/1.559, allocations: 230.6 MB / 252.8 MB, free: 9.133 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.308/3.308, allocations: 0.4899 GB / 0.7915 GB, free: 33.17 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003198/0.003198, allocations: 69.5 kB / 1.149 GB, free: 26.08 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3815/0.3847, allocations: 176.1 MB / 1.321 GB, free: 2.789 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002648/0.3874, allocations: 1.269 MB / 1.322 GB, free: 1.508 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001181/0.3885, allocations: 0.7236 MB / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.806e-05/0.3886, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 4.286e-05/0.3886, allocations: 0 / 1.323 GB, free: 0.7812 MB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 0.000259/0.3889, allocations: 15.91 kB / 1.323 GB, free: 0.7656 MB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001011/0.389, allocations: 15.94 kB / 1.323 GB, free: 0.75 MB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.245e-05/0.3891, allocations: 7.984 kB / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 6.299e-05/0.3891, allocations: 0 / 1.323 GB, free: 0.7422 MB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.247e-05/0.3891, allocations: 7.984 kB / 1.323 GB, free: 0.7344 MB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001663/0.3893, allocations: 4 kB / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.3893, allocations: 0 / 1.323 GB, free: 0.7305 MB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 6.163e-05/0.3894, allocations: 11.92 kB / 1.323 GB, free: 0.7188 MB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 4.529e-05/0.3894, allocations: 11.92 kB / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.428e-05/0.3894, allocations: 0 / 1.323 GB, free: 0.707 MB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 8.736e-05/0.3895, allocations: 11.94 kB / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of FrontEnd - DAE generated: time 3.888e-06/0.3895, allocations: 0 / 1.323 GB, free: 0.6953 MB / 1.014 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3895, allocations: 8 kB / 1.323 GB, free: 0.6875 MB / 1.014 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.3895, allocations: 0 / 1.323 GB, free: 0.6875 MB / 1.014 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.000351/0.3899, allocations: 311.6 kB / 1.324 GB, free: 340 kB / 1.014 GB Notification: Performance of prepare preOptimizeDAE: time 3.509e-05/0.3899, allocations: 11.98 kB / 1.324 GB, free: 328 kB / 1.014 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.331e-05/0.39, allocations: 80.17 kB / 1.324 GB, free: 248 kB / 1.014 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002094/0.3902, allocations: 243.7 kB / 1.324 GB, free: 15.96 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.841e-05/0.3903, allocations: 154.9 kB / 1.324 GB, free: 15.81 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.672e-05/0.3904, allocations: 154.9 kB / 1.324 GB, free: 15.66 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.334e-05/0.3904, allocations: 101.5 kB / 1.324 GB, free: 15.55 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.254e-05/0.3905, allocations: 75.47 kB / 1.324 GB, free: 15.48 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.636e-05/0.3905, allocations: 162.4 kB / 1.325 GB, free: 15.32 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.766e-05/0.3906, allocations: 154.6 kB / 1.325 GB, free: 15.17 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.463e-05/0.3907, allocations: 154.6 kB / 1.325 GB, free: 15.02 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003409/0.391, allocations: 442 kB / 1.325 GB, free: 14.54 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.298e-05/0.3911, allocations: 169.1 kB / 1.325 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.424e-05/0.3912, allocations: 88.08 kB / 1.325 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.27e-05/0.3912, allocations: 83.25 kB / 1.326 GB, free: 14.19 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.369e-05/0.3913, allocations: 113.8 kB / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.3913, allocations: 0 / 1.326 GB, free: 14.07 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 8.038e-05/0.3914, allocations: 29.64 kB / 1.326 GB, free: 14.03 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.3914, allocations: 126.7 kB / 1.326 GB, free: 13.89 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.3915, allocations: 93.86 kB / 1.326 GB, free: 13.79 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.971e-05/0.3916, allocations: 29.7 kB / 1.326 GB, free: 13.76 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 4.301e-05/0.3916, allocations: 84.27 kB / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3916, allocations: 0 / 1.326 GB, free: 13.67 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.877e-05/0.3916, allocations: 17.7 kB / 1.326 GB, free: 13.65 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.3918, allocations: 310.8 kB / 1.326 GB, free: 13.34 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.432e-06/0.3918, allocations: 4 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.281e-05/0.3918, allocations: 3.938 kB / 1.326 GB, free: 13.33 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.372e-05/0.3918, allocations: 75.28 kB / 1.326 GB, free: 13.25 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.163e-05/0.3919, allocations: 75.28 kB / 1.326 GB, free: 13.18 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.64e-05/0.3919, allocations: 33.73 kB / 1.327 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 5.052e-05/0.392, allocations: 79.28 kB / 1.327 GB, free: 13.06 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.344e-05/0.392, allocations: 79.22 kB / 1.327 GB, free: 12.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.725e-05/0.3921, allocations: 162.5 kB / 1.327 GB, free: 12.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.344e-05/0.3921, allocations: 79.28 kB / 1.327 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.615e-05/0.3922, allocations: 158.5 kB / 1.327 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000138/0.3923, allocations: 79.28 kB / 1.327 GB, free: 12.51 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.311e-05/0.3924, allocations: 79.28 kB / 1.327 GB, free: 12.43 MB / 1.029 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 (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 prepare postOptimizeDAE: time 0.0001368/0.3925, allocations: 260.3 kB / 1.327 GB, free: 12.17 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.677e-05/0.3926, allocations: 109 kB / 1.328 GB, free: 12.05 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.468e-05/0.3927, allocations: 108.2 kB / 1.328 GB, free: 11.94 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.319e-05/0.3927, allocations: 188.2 kB / 1.328 GB, free: 11.75 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.1e-05/0.3928, allocations: 180.3 kB / 1.328 GB, free: 11.57 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001007/0.3929, allocations: 184.2 kB / 1.328 GB, free: 11.38 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002811/0.3932, allocations: 397.2 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.183e-05/0.3933, allocations: 105 kB / 1.329 GB, free: 10.82 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.236e-05/0.3933, allocations: 104.9 kB / 1.329 GB, free: 10.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-05/0.3934, allocations: 188.3 kB / 1.329 GB, free: 10.52 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.983e-05/0.3935, allocations: 188.1 kB / 1.329 GB, free: 10.33 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.987e-05/0.3936, allocations: 180.2 kB / 1.329 GB, free: 10.15 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.103e-05/0.3936, allocations: 176.3 kB / 1.329 GB, free: 9.969 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001687/0.3938, allocations: 315.7 kB / 1.33 GB, free: 9.637 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 9.97e-05/0.3939, allocations: 190 kB / 1.33 GB, free: 9.426 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.643e-05/0.394, allocations: 180.2 kB / 1.33 GB, free: 9.242 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.341e-05/0.3941, allocations: 101 kB / 1.33 GB, free: 9.137 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001038/0.3942, allocations: 184.2 kB / 1.33 GB, free: 8.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.715e-05/0.3943, allocations: 109 kB / 1.33 GB, free: 8.836 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.869e-05/0.3943, allocations: 79.28 kB / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.3943, allocations: 0 / 1.331 GB, free: 8.758 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.000265/0.3946, allocations: 7.938 kB / 1.331 GB, free: 8.75 MB / 1.029 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.0003394/0.3949, allocations: 191.1 kB / 1.331 GB, free: 8.551 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 5.391e-05/0.395, allocations: 7.938 kB / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.395, allocations: 0 / 1.331 GB, free: 8.543 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.313e-06/0.395, allocations: 4.094 kB / 1.331 GB, free: 8.539 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00043/0.3954, allocations: 456.5 kB / 1.331 GB, free: 8.09 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002878/0.3957, allocations: 164.9 kB / 1.331 GB, free: 7.902 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/0.396, allocations: 0.6728 MB / 1.332 GB, free: 7.203 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.817e-05/0.396, allocations: 3.984 kB / 1.332 GB, free: 7.199 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.912e-05/0.3961, allocations: 15.44 kB / 1.332 GB, free: 7.184 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.3961, allocations: 0 / 1.332 GB, free: 7.184 MB / 1.029 GB Notification: Performance of Templates: time 0.002666/0.3987, allocations: 324.6 kB / 1.332 GB, free: 6.91 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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: 9.250939188990742]