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.001866/0.001866, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.002333/0.002333, allocations: 213.3 kB / 22.99 MB, free: 4.984 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.479/1.479, allocations: 230.6 MB / 256.8 MB, free: 7.809 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.123/3.123, allocations: 0.49 GB / 0.7959 GB, free: 35.38 MB / 0.6231 GB " [Timeout remaining time 177] 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.002002/0.002002, allocations: 74.38 kB / 1.155 GB, free: 25.18 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3094/0.3114, allocations: 176.1 MB / 1.327 GB, free: 0.9883 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002276/0.3137, allocations: 1.268 MB / 1.328 GB, free: 15.71 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.3149, allocations: 0.8028 MB / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.416e-05/0.3149, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.98e-05/0.3149, allocations: 0 / 1.329 GB, free: 14.91 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0002101/0.3152, allocations: 23.91 kB / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 6.185e-05/0.3152, allocations: 0 / 1.329 GB, free: 14.89 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 4.8e-05/0.3153, allocations: 8 kB / 1.329 GB, free: 14.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.389e-05/0.3153, allocations: 7.984 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 2.233e-05/0.3153, allocations: 3.984 kB / 1.329 GB, free: 14.87 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001065/0.3154, allocations: 11.88 kB / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.3154, allocations: 0 / 1.329 GB, free: 14.86 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 3.574e-05/0.3155, allocations: 4 kB / 1.329 GB, free: 14.85 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 3.97e-05/0.3155, allocations: 7.984 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 1.667e-05/0.3155, allocations: 4 kB / 1.329 GB, free: 14.84 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 7.395e-05/0.3156, allocations: 11.92 kB / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.457e-06/0.3156, allocations: 0 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.332e-06/0.3156, allocations: 0 / 1.329 GB, free: 14.83 MB / 1.029 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.3156, allocations: 4 kB / 1.329 GB, free: 14.82 MB / 1.029 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.0002893/0.3159, allocations: 238.5 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.27e-05/0.3159, allocations: 8.031 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.886e-05/0.316, allocations: 80.22 kB / 1.329 GB, free: 14.47 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.3162, allocations: 185.8 kB / 1.33 GB, free: 14.27 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.39e-05/0.3162, allocations: 150.9 kB / 1.33 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.458e-05/0.3163, allocations: 150.9 kB / 1.33 GB, free: 13.97 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.203e-05/0.3164, allocations: 109.5 kB / 1.33 GB, free: 13.86 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.331e-05/0.3164, allocations: 75.47 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.328e-05/0.3165, allocations: 158.4 kB / 1.33 GB, free: 13.62 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.249e-05/0.3165, allocations: 158.5 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.635e-05/0.3166, allocations: 158.6 kB / 1.331 GB, free: 13.31 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002731/0.3169, allocations: 393.5 kB / 1.331 GB, free: 12.9 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 9.627e-05/0.317, allocations: 173.1 kB / 1.331 GB, free: 12.72 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.467e-05/0.317, allocations: 88.19 kB / 1.331 GB, free: 12.63 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.286e-05/0.317, allocations: 75.28 kB / 1.331 GB, free: 12.55 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.608e-05/0.3171, allocations: 117.8 kB / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 8.82e-07/0.3171, allocations: 0 / 1.331 GB, free: 12.43 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 7.504e-05/0.3172, allocations: 29.64 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.939e-05/0.3172, allocations: 130.6 kB / 1.332 GB, free: 12.25 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.069e-05/0.3173, allocations: 101.8 kB / 1.332 GB, free: 12.14 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.869e-05/0.3173, allocations: 29.7 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.724e-05/0.3174, allocations: 80.14 kB / 1.332 GB, free: 12.03 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.603e-06/0.3174, allocations: 4 kB / 1.332 GB, free: 12.02 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.326e-05/0.3174, allocations: 9.719 kB / 1.332 GB, free: 12.01 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.3175, allocations: 310.8 kB / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.898e-06/0.3175, allocations: 0 / 1.332 GB, free: 11.7 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.508e-05/0.3176, allocations: 29.7 kB / 1.332 GB, free: 11.66 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.515e-05/0.3176, allocations: 79.27 kB / 1.332 GB, free: 11.58 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.756e-05/0.3176, allocations: 75.28 kB / 1.332 GB, free: 11.51 MB / 1.029 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.836e-05/0.3177, allocations: 33.86 kB / 1.332 GB, free: 11.47 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 4.227e-05/0.3177, allocations: 79.28 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.338e-05/0.3178, allocations: 79.22 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.469e-05/0.3178, allocations: 162.5 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.074e-05/0.3179, allocations: 79.22 kB / 1.333 GB, free: 11.07 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.135e-05/0.3179, allocations: 150.6 kB / 1.333 GB, free: 10.93 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001281/0.3181, allocations: 83.27 kB / 1.333 GB, free: 10.84 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.197e-05/0.3181, allocations: 79.22 kB / 1.333 GB, free: 10.77 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.0001283/0.3182, allocations: 260.9 kB / 1.333 GB, free: 10.5 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.959e-05/0.3183, allocations: 105 kB / 1.333 GB, free: 10.39 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.787e-05/0.3184, allocations: 116.3 kB / 1.333 GB, free: 10.26 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.713e-05/0.3184, allocations: 188.2 kB / 1.334 GB, free: 10.07 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.431e-05/0.3185, allocations: 176.3 kB / 1.334 GB, free: 9.891 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.556e-05/0.3186, allocations: 184.2 kB / 1.334 GB, free: 9.703 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002244/0.3188, allocations: 352.9 kB / 1.334 GB, free: 9.32 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.003e-05/0.3189, allocations: 116.8 kB / 1.334 GB, free: 9.199 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.995e-05/0.3189, allocations: 101 kB / 1.334 GB, free: 9.094 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.699e-05/0.319, allocations: 176.3 kB / 1.335 GB, free: 8.914 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.764e-05/0.3191, allocations: 184.2 kB / 1.335 GB, free: 8.727 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.59e-05/0.3191, allocations: 176.3 kB / 1.335 GB, free: 8.547 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.88e-05/0.3192, allocations: 188.1 kB / 1.335 GB, free: 8.355 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001478/0.3193, allocations: 307.8 kB / 1.335 GB, free: 8.031 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 4.962e-05/0.3194, allocations: 113 kB / 1.336 GB, free: 7.914 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.95e-05/0.3195, allocations: 176.3 kB / 1.336 GB, free: 7.734 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.684e-05/0.3196, allocations: 116.8 kB / 1.336 GB, free: 7.613 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.737e-05/0.3196, allocations: 180.2 kB / 1.336 GB, free: 7.43 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.093e-05/0.3197, allocations: 104.9 kB / 1.336 GB, free: 7.32 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.449e-05/0.3197, allocations: 79.28 kB / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.3197, allocations: 0 / 1.336 GB, free: 7.242 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002694/0.32, allocations: 7.938 kB / 1.336 GB, free: 7.234 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.0002798/0.3203, allocations: 192.9 kB / 1.336 GB, free: 7.035 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 4.625e-05/0.3203, allocations: 7.984 kB / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.943e-06/0.3203, allocations: 0 / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3203, allocations: 0 / 1.336 GB, free: 7.027 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003733/0.3207, allocations: 457.5 kB / 1.337 GB, free: 6.578 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002386/0.3209, allocations: 168.9 kB / 1.337 GB, free: 6.387 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.418e-05/0.321, allocations: 59.34 kB / 1.337 GB, free: 6.309 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 1.353e-05/0.321, allocations: 4 kB / 1.337 GB, free: 6.305 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.493e-05/0.321, allocations: 7.438 kB / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of SimCode: time 3.1e-07/0.321, allocations: 0 / 1.337 GB, free: 6.297 MB / 1.029 GB Notification: Performance of Templates: time 0.002486/0.3235, allocations: 350.7 kB / 1.337 GB, free: 5.988 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 -s gbode -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/jenkins1/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: 8.55455862499366]