Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001809/0.001809, allocations: 104.4 kB / 19.7 MB, free: 2.125 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.002321/0.002321, allocations: 217 kB / 22.99 MB, free: 4.945 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.46/1.46, allocations: 230.6 MB / 256.8 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.807/2.807, allocations: 476 MB / 0.7707 GB, free: 4.738 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [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.002147/0.002147, allocations: 68.66 kB / 1.118 GB, free: 41.06 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3279/0.33, allocations: 170 MB / 1.284 GB, free: 11.96 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00267/0.3327, allocations: 1.288 MB / 1.285 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001346/0.334, allocations: 0.822 MB / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.3341, allocations: 0 / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 3.301e-05/0.3341, allocations: 0 / 1.286 GB, free: 9.84 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0002046/0.3343, allocations: 11.92 kB / 1.286 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000184/0.3345, allocations: 46.05 kB / 1.286 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 7.21e-05/0.3346, allocations: 23.86 kB / 1.286 GB, free: 9.762 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.3346, allocations: 8 kB / 1.286 GB, free: 9.754 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.3347, allocations: 15.98 kB / 1.286 GB, free: 9.738 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 8.411e-05/0.3348, allocations: 7.984 kB / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.551e-05/0.3348, allocations: 0 / 1.286 GB, free: 9.73 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 4.503e-05/0.3348, allocations: 11.94 kB / 1.286 GB, free: 9.719 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 4.662e-05/0.3349, allocations: 15.91 kB / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.048e-05/0.3349, allocations: 0 / 1.286 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001045/0.335, allocations: 31.84 kB / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.335, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.462e-06/0.335, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.23e-06/0.335, allocations: 0 / 1.286 GB, free: 9.672 MB / 0.9825 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.0003571/0.3354, allocations: 258.4 kB / 1.286 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.32e-05/0.3354, allocations: 8.031 kB / 1.286 GB, free: 9.379 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.766e-05/0.3355, allocations: 80.22 kB / 1.286 GB, free: 9.301 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001477/0.3356, allocations: 185.8 kB / 1.287 GB, free: 9.094 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.666e-05/0.3357, allocations: 150.9 kB / 1.287 GB, free: 8.945 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.347e-05/0.3358, allocations: 154.9 kB / 1.287 GB, free: 8.793 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.328e-05/0.3358, allocations: 107.3 kB / 1.287 GB, free: 8.684 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.708e-05/0.3359, allocations: 75.47 kB / 1.287 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.424e-05/0.336, allocations: 158.5 kB / 1.287 GB, free: 8.453 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.669e-05/0.336, allocations: 158.5 kB / 1.287 GB, free: 8.297 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.321e-05/0.3361, allocations: 154.6 kB / 1.287 GB, free: 8.145 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003142/0.3364, allocations: 401.6 kB / 1.288 GB, free: 7.723 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 9.541e-05/0.3365, allocations: 169.1 kB / 1.288 GB, free: 7.547 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.065e-05/0.3366, allocations: 84.19 kB / 1.288 GB, free: 7.461 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 4.106e-05/0.3366, allocations: 79.28 kB / 1.288 GB, free: 7.383 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.493e-05/0.3367, allocations: 109.8 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/0.3367, allocations: 0 / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.966e-05/0.3368, allocations: 37.59 kB / 1.288 GB, free: 7.223 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.356e-05/0.3368, allocations: 126.7 kB / 1.288 GB, free: 7.086 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.337, allocations: 109.8 kB / 1.289 GB, free: 6.969 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.701e-05/0.337, allocations: 25.7 kB / 1.289 GB, free: 6.938 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.586e-05/0.337, allocations: 84.14 kB / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.093e-06/0.337, allocations: 0 / 1.289 GB, free: 6.852 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.84e-05/0.3371, allocations: 25.59 kB / 1.289 GB, free: 6.82 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001518/0.3372, allocations: 314.8 kB / 1.289 GB, free: 6.504 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.043e-05/0.3372, allocations: 8 kB / 1.289 GB, free: 6.496 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.324e-05/0.3373, allocations: 29.7 kB / 1.289 GB, free: 6.461 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.678e-05/0.3373, allocations: 16.84 kB / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.954e-06/0.3373, allocations: 0 / 1.289 GB, free: 6.441 MB / 0.9825 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001116/0.3374, allocations: 41.7 kB / 1.289 GB, free: 6.395 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.3374, allocations: 4.125 kB / 1.289 GB, free: 6.391 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.415e-06/0.3374, allocations: 7.984 kB / 1.289 GB, free: 6.383 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.3375, allocations: 7.938 kB / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.3375, allocations: 0 / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.037e-06/0.3375, allocations: 0 / 1.289 GB, free: 6.375 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.253e-05/0.3375, allocations: 7.922 kB / 1.289 GB, free: 6.367 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.182e-05/0.3376, allocations: 4 kB / 1.289 GB, free: 6.363 MB / 0.9825 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 0.0001256/0.3377, allocations: 181.1 kB / 1.289 GB, free: 6.176 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.191e-05/0.3378, allocations: 112.9 kB / 1.289 GB, free: 6.059 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.722e-05/0.3378, allocations: 104.5 kB / 1.289 GB, free: 5.949 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.822e-05/0.3379, allocations: 184.1 kB / 1.29 GB, free: 5.762 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.004e-05/0.338, allocations: 188.3 kB / 1.29 GB, free: 5.57 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.324e-05/0.3381, allocations: 180.2 kB / 1.29 GB, free: 5.387 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002405/0.3383, allocations: 357.1 kB / 1.29 GB, free: 5 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.806e-05/0.3384, allocations: 105 kB / 1.29 GB, free: 4.891 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.3384, allocations: 112.9 kB / 1.291 GB, free: 4.773 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.626e-05/0.3385, allocations: 180.2 kB / 1.291 GB, free: 4.59 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.244e-05/0.3386, allocations: 180.2 kB / 1.291 GB, free: 4.406 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.532e-05/0.3387, allocations: 180.3 kB / 1.291 GB, free: 4.223 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.547e-05/0.3388, allocations: 180.4 kB / 1.291 GB, free: 4.039 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001696/0.3389, allocations: 315.8 kB / 1.292 GB, free: 3.707 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001083/0.3391, allocations: 116.9 kB / 1.292 GB, free: 3.586 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001056/0.3392, allocations: 176.3 kB / 1.292 GB, free: 3.406 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.866e-05/0.3392, allocations: 109 kB / 1.292 GB, free: 3.293 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.172e-05/0.3393, allocations: 184.1 kB / 1.292 GB, free: 3.105 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.559e-05/0.3394, allocations: 105 kB / 1.292 GB, free: 2.996 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.983e-05/0.3394, allocations: 83.28 kB / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of sort global known variables: time 6e-08/0.3394, allocations: 0 / 1.292 GB, free: 2.914 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002399/0.3397, allocations: 4 kB / 1.292 GB, free: 2.91 MB / 0.9825 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.0002846/0.34, allocations: 193.5 kB / 1.292 GB, free: 2.715 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.285e-05/0.34, allocations: 15.92 kB / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.34, allocations: 0 / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.34, allocations: 0 / 1.292 GB, free: 2.699 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3405, allocations: 451.7 kB / 1.293 GB, free: 2.254 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002996/0.3408, allocations: 202.5 kB / 1.293 GB, free: 2.023 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.727e-05/0.3408, allocations: 55.36 kB / 1.293 GB, free: 1.949 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.3408, allocations: 7.438 kB / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of SimCode: time 3.21e-07/0.3408, allocations: 0 / 1.293 GB, free: 1.941 MB / 0.9825 GB Notification: Performance of Templates: time 0.002145/0.343, allocations: 0.5252 MB / 1.294 GB, free: 1.422 MB / 0.9825 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile [Timeout 300] (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.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: 11.111774272285402]