Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.001392/0.001392, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001654/0.001654, allocations: 162.5 kB / 22.46 MB, free: 5.375 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.509/1.509, allocations: 177.2 MB / 202.8 MB, free: 9.168 MB / 190.1 MB " [Timeout remaining time 178] 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.87/2.87, allocations: 389 MB / 0.633 GB, free: 0.9961 MB / 0.5919 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.1 (/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_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.793e-06/1.793e-06, allocations: 0 / 1 GB, free: 6.207 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.051e-05/3.23e-05, allocations: 8.891 kB / 1 GB, free: 6.199 MB / 0.9044 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.00247/0.002503, allocations: 1.295 MB / 1.001 GB, free: 4.898 MB / 0.9044 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.00368, allocations: 0.8336 MB / 1.002 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.032e-05/0.003711, allocations: 0 / 1.002 GB, free: 4.062 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 4.904e-05/0.00376, allocations: 7.938 kB / 1.002 GB, free: 4.055 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 0.0002605/0.00402, allocations: 3.938 kB / 1.002 GB, free: 4.051 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002088/0.004229, allocations: 51.86 kB / 1.002 GB, free: 4 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.152e-05/0.004311, allocations: 23.91 kB / 1.002 GB, free: 3.977 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.531e-05/0.004356, allocations: 4 kB / 1.002 GB, free: 3.973 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 7.443e-05/0.00443, allocations: 19.92 kB / 1.002 GB, free: 3.953 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001022/0.004533, allocations: 7.984 kB / 1.002 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.854e-05/0.004551, allocations: 0 / 1.002 GB, free: 3.945 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 5.077e-05/0.004602, allocations: 7.938 kB / 1.002 GB, free: 3.938 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 4.911e-05/0.004651, allocations: 7.984 kB / 1.002 GB, free: 3.93 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 3.277e-05/0.004684, allocations: 15.94 kB / 1.002 GB, free: 3.914 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.0001017/0.004785, allocations: 19.97 kB / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 1.994e-06/0.004787, allocations: 0 / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of FrontEnd: time 8.52e-07/0.004788, allocations: 0 / 1.002 GB, free: 3.895 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.004792, allocations: 0 / 1.002 GB, free: 3.895 MB / 0.9044 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.0003433/0.005135, allocations: 254.3 kB / 1.003 GB, free: 3.613 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.003e-05/0.005175, allocations: 12.03 kB / 1.003 GB, free: 3.602 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.393e-05/0.005249, allocations: 84.16 kB / 1.003 GB, free: 3.52 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/0.0054, allocations: 181.1 kB / 1.003 GB, free: 3.316 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.16e-05/0.005472, allocations: 154.9 kB / 1.003 GB, free: 3.164 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.173e-05/0.005543, allocations: 150.9 kB / 1.003 GB, free: 3.016 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.463e-05/0.005618, allocations: 109.5 kB / 1.003 GB, free: 2.902 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.005653, allocations: 75.47 kB / 1.003 GB, free: 2.828 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.27e-05/0.005726, allocations: 150.9 kB / 1.003 GB, free: 2.68 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.533e-05/0.005791, allocations: 150.9 kB / 1.004 GB, free: 2.531 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.623e-05/0.005857, allocations: 154.5 kB / 1.004 GB, free: 2.379 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.006179, allocations: 409.6 kB / 1.004 GB, free: 1.949 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001066/0.006286, allocations: 173.1 kB / 1.004 GB, free: 1.77 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.04e-05/0.006326, allocations: 84.08 kB / 1.004 GB, free: 1.684 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 3.75e-05/0.006364, allocations: 75.28 kB / 1.004 GB, free: 1.609 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.879e-05/0.006422, allocations: 109.8 kB / 1.005 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.242e-06/0.006424, allocations: 0 / 1.005 GB, free: 1.492 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.301e-05/0.006507, allocations: 29.64 kB / 1.005 GB, free: 1.457 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.497e-05/0.006592, allocations: 134.7 kB / 1.005 GB, free: 1.312 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001262/0.006718, allocations: 113.7 kB / 1.005 GB, free: 1.191 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.94e-05/0.006737, allocations: 33.62 kB / 1.005 GB, free: 1.152 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.114e-05/0.006788, allocations: 84.14 kB / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 1.884e-06/0.00679, allocations: 0 / 1.005 GB, free: 1.066 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.006829, allocations: 17.7 kB / 1.005 GB, free: 1.043 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001415/0.006971, allocations: 318.8 kB / 1.005 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.679e-05/0.006987, allocations: 0 / 1.005 GB, free: 0.7227 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.718e-05/0.007034, allocations: 37.69 kB / 1.005 GB, free: 0.6797 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.864e-05/0.007073, allocations: 13.11 kB / 1.005 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.774e-06/0.007075, allocations: 0 / 1.005 GB, free: 0.6641 MB / 0.9044 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001302/0.007205, allocations: 53.62 kB / 1.005 GB, free: 0.6055 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.007218, allocations: 8.125 kB / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007224, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.329e-05/0.007237, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.007238, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.857e-06/0.007242, allocations: 0 / 1.005 GB, free: 0.5977 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001302/0.007372, allocations: 7.938 kB / 1.005 GB, free: 0.5898 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.223e-05/0.007384, allocations: 3.984 kB / 1.005 GB, free: 0.5859 MB / 0.9044 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.000117/0.007501, allocations: 186.3 kB / 1.006 GB, free: 404 kB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.401e-05/0.007585, allocations: 101 kB / 1.006 GB, free: 296 kB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.436e-05/0.00765, allocations: 116.5 kB / 1.006 GB, free: 172 kB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.895e-05/0.007749, allocations: 192.2 kB / 1.006 GB, free: 15.97 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.939e-05/0.007828, allocations: 180.2 kB / 1.006 GB, free: 15.79 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.979e-05/0.007908, allocations: 184.2 kB / 1.006 GB, free: 15.6 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002203/0.008128, allocations: 356.9 kB / 1.007 GB, free: 15.21 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.842e-05/0.008177, allocations: 104.9 kB / 1.007 GB, free: 15.11 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.418e-05/0.008221, allocations: 101 kB / 1.007 GB, free: 15 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.978e-05/0.008301, allocations: 184.2 kB / 1.007 GB, free: 14.81 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.042e-05/0.008381, allocations: 176.3 kB / 1.007 GB, free: 14.63 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.442e-05/0.008455, allocations: 180.2 kB / 1.007 GB, free: 14.45 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.257e-05/0.008538, allocations: 184.2 kB / 1.008 GB, free: 14.26 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001661/0.008704, allocations: 311.7 kB / 1.008 GB, free: 13.93 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/0.008769, allocations: 109 kB / 1.008 GB, free: 13.82 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.864e-05/0.008858, allocations: 180.2 kB / 1.008 GB, free: 13.64 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.268e-05/0.008941, allocations: 104.9 kB / 1.008 GB, free: 13.53 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.581e-05/0.009026, allocations: 188.3 kB / 1.008 GB, free: 13.34 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.981e-05/0.009076, allocations: 108.9 kB / 1.009 GB, free: 13.22 MB / 0.92 GB Notification: Performance of sorting global known variables: time 5.208e-05/0.009128, allocations: 87.2 kB / 1.009 GB, free: 13.14 MB / 0.92 GB Notification: Performance of sort global known variables: time 1.01e-07/0.009128, allocations: 4 kB / 1.009 GB, free: 13.13 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002264/0.009355, allocations: 3.938 kB / 1.009 GB, free: 13.13 MB / 0.92 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.0002556/0.00961, allocations: 190.5 kB / 1.009 GB, free: 12.93 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 7.84e-05/0.009689, allocations: 8 kB / 1.009 GB, free: 12.92 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.009691, allocations: 0 / 1.009 GB, free: 12.92 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 4.418e-06/0.009695, allocations: 4 kB / 1.009 GB, free: 12.92 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003874/0.01008, allocations: 452.3 kB / 1.009 GB, free: 12.47 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002766/0.01036, allocations: 176.1 kB / 1.009 GB, free: 12.27 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.354e-05/0.01042, allocations: 59.34 kB / 1.009 GB, free: 12.2 MB / 0.92 GB Notification: Performance of simCode: alias equations: time 1.658e-05/0.01044, allocations: 4 kB / 1.009 GB, free: 12.19 MB / 0.92 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.483e-05/0.01045, allocations: 12.56 kB / 1.009 GB, free: 12.18 MB / 0.92 GB Notification: Performance of SimCode: time 4.41e-07/0.01045, allocations: 0 / 1.009 GB, free: 12.18 MB / 0.92 GB Notification: Performance of Templates: time 0.002904/0.01336, allocations: 475.9 kB / 1.01 GB, free: 11.76 MB / 0.92 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.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.098805982619524]