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.001434/0.001434, allocations: 84.05 kB / 19.18 MB, free: 2.523 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.001632/0.001632, allocations: 166.7 kB / 22.46 MB, free: 5.359 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.55/1.55, allocations: 177.1 MB / 202.8 MB, free: 9.18 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.923/2.923, allocations: 389 MB / 0.633 GB, free: 1.004 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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",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.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.344e-06/2.344e-06, allocations: 0 / 1 GB, free: 7.301 MB / 0.9512 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.175e-05/3.409e-05, allocations: 2.281 kB / 1 GB, free: 7.297 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.00272/0.002754, allocations: 1.292 MB / 1.001 GB, free: 5.996 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.001328/0.004083, allocations: 0.8298 MB / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.534e-05/0.004118, allocations: 0 / 1.002 GB, free: 5.164 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.415e-05/0.004162, allocations: 3.938 kB / 1.002 GB, free: 5.16 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0002837/0.004446, allocations: 7.938 kB / 1.002 GB, free: 5.152 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002102/0.004656, allocations: 51.78 kB / 1.002 GB, free: 5.102 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001049/0.004761, allocations: 23.92 kB / 1.002 GB, free: 5.078 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.384e-05/0.004815, allocations: 4 kB / 1.002 GB, free: 5.074 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 9.476e-05/0.004909, allocations: 11.98 kB / 1.002 GB, free: 5.062 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000104/0.005013, allocations: 15.98 kB / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 2.062e-05/0.005034, allocations: 0 / 1.002 GB, free: 5.047 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 4.825e-05/0.005082, allocations: 7.938 kB / 1.002 GB, free: 5.039 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 5.321e-05/0.005136, allocations: 7.984 kB / 1.002 GB, free: 5.031 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.768e-05/0.005163, allocations: 4 kB / 1.002 GB, free: 5.027 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0001197/0.005283, allocations: 23.97 kB / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.117e-06/0.005287, allocations: 0 / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of FrontEnd: time 9.42e-07/0.005288, allocations: 0 / 1.002 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 8.967e-06/0.005297, allocations: 0 / 1.002 GB, free: 5.004 MB / 0.9512 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.0004254/0.005722, allocations: 250.3 kB / 1.003 GB, free: 4.727 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.065e-05/0.005773, allocations: 8.031 kB / 1.003 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.913e-05/0.005872, allocations: 92.16 kB / 1.003 GB, free: 4.629 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002317/0.006104, allocations: 185.1 kB / 1.003 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.964e-05/0.006193, allocations: 154.9 kB / 1.003 GB, free: 4.27 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001194/0.006313, allocations: 158.9 kB / 1.003 GB, free: 4.113 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001029/0.006416, allocations: 105.5 kB / 1.003 GB, free: 4.004 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.41e-05/0.00647, allocations: 75.47 kB / 1.003 GB, free: 3.93 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.952e-05/0.006549, allocations: 150.9 kB / 1.004 GB, free: 3.781 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001667/0.006716, allocations: 150.9 kB / 1.004 GB, free: 3.633 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.917e-05/0.006795, allocations: 154.5 kB / 1.004 GB, free: 3.48 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004605/0.007256, allocations: 405.6 kB / 1.004 GB, free: 3.055 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000133/0.007389, allocations: 173.1 kB / 1.004 GB, free: 2.875 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.342e-05/0.007432, allocations: 84.14 kB / 1.004 GB, free: 2.789 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 5.329e-05/0.007486, allocations: 75.28 kB / 1.004 GB, free: 2.715 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.817e-05/0.007544, allocations: 109.8 kB / 1.005 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.243e-06/0.007545, allocations: 0 / 1.005 GB, free: 2.598 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.169e-05/0.007637, allocations: 29.66 kB / 1.005 GB, free: 2.562 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.308e-05/0.00773, allocations: 130.6 kB / 1.005 GB, free: 2.422 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001417/0.007871, allocations: 113.8 kB / 1.005 GB, free: 2.301 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.931e-05/0.007891, allocations: 25.7 kB / 1.005 GB, free: 2.27 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.008046, allocations: 84.14 kB / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.004e-06/0.008048, allocations: 0 / 1.005 GB, free: 2.184 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.889e-05/0.008087, allocations: 21.7 kB / 1.005 GB, free: 2.156 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002088/0.008296, allocations: 314.8 kB / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.721e-05/0.008313, allocations: 0 / 1.005 GB, free: 1.84 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.304e-05/0.008366, allocations: 41.69 kB / 1.005 GB, free: 1.793 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.504e-05/0.008411, allocations: 12.86 kB / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.008413, allocations: 0 / 1.005 GB, free: 1.777 MB / 0.9512 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001306/0.008543, allocations: 45.62 kB / 1.005 GB, free: 1.727 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.598e-05/0.008559, allocations: 5.719 kB / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.903e-06/0.008566, allocations: 256 / 1.005 GB, free: 1.723 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.008582, allocations: 4.125 kB / 1.005 GB, free: 1.719 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.276e-06/0.008586, allocations: 4 kB / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/0.008592, allocations: 0 / 1.005 GB, free: 1.715 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001007/0.008692, allocations: 7.938 kB / 1.005 GB, free: 1.707 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.207e-06/0.008702, allocations: 0 / 1.005 GB, free: 1.707 MB / 0.9512 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.0001474/0.008849, allocations: 193.6 kB / 1.006 GB, free: 1.508 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.124e-05/0.00892, allocations: 104.9 kB / 1.006 GB, free: 1.398 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.173e-05/0.008992, allocations: 112.4 kB / 1.006 GB, free: 1.281 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.417e-05/0.009076, allocations: 180.3 kB / 1.006 GB, free: 1.098 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.877e-05/0.009175, allocations: 184.3 kB / 1.006 GB, free: 0.9102 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.667e-05/0.009272, allocations: 196.1 kB / 1.006 GB, free: 0.7109 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000257/0.009529, allocations: 352.9 kB / 1.007 GB, free: 336 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.422e-05/0.009583, allocations: 108.9 kB / 1.007 GB, free: 220 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.883e-05/0.009632, allocations: 101 kB / 1.007 GB, free: 112 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000127/0.009759, allocations: 188.2 kB / 1.007 GB, free: 15.92 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.728e-05/0.009856, allocations: 180.2 kB / 1.007 GB, free: 15.73 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001002/0.009956, allocations: 176.3 kB / 1.007 GB, free: 15.55 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.924e-05/0.01005, allocations: 184.2 kB / 1.008 GB, free: 15.37 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.01023, allocations: 311.6 kB / 1.008 GB, free: 15.04 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 8.448e-05/0.01031, allocations: 109 kB / 1.008 GB, free: 14.93 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.414e-05/0.01041, allocations: 180.2 kB / 1.008 GB, free: 14.74 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.421e-05/0.0105, allocations: 108.9 kB / 1.008 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.816e-05/0.0106, allocations: 180.3 kB / 1.008 GB, free: 14.45 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.446e-05/0.01067, allocations: 104.9 kB / 1.009 GB, free: 14.34 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 5.737e-05/0.01072, allocations: 87.27 kB / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of sort global known variables: time 9.1e-08/0.01072, allocations: 0 / 1.009 GB, free: 14.25 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002441/0.01097, allocations: 11.88 kB / 1.009 GB, free: 14.24 MB / 0.9669 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.0003632/0.01133, allocations: 187.8 kB / 1.009 GB, free: 14.05 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 8.384e-05/0.01141, allocations: 12 kB / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.783e-06/0.01142, allocations: 0 / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.523e-06/0.01142, allocations: 0 / 1.009 GB, free: 14.04 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.01185, allocations: 459.7 kB / 1.009 GB, free: 13.58 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003116/0.01216, allocations: 172 kB / 1.009 GB, free: 13.39 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.36e-05/0.01223, allocations: 59.34 kB / 1.009 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.715e-05/0.01224, allocations: 0 / 1.009 GB, free: 13.31 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.9e-05/0.01226, allocations: 8.5 kB / 1.009 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of SimCode: time 5.11e-07/0.01226, allocations: 0 / 1.009 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.003181/0.01544, allocations: 461.2 kB / 1.01 GB, free: 12.86 MB / 0.9669 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 8.430694282054901]