Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001569/0.001569, allocations: 84.39 kB / 20.23 MB, free: 4.176 MB / 18.57 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.001877/0.001877, allocations: 161.3 kB / 23.55 MB, free: 0.8633 MB / 18.57 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.503/1.503, allocations: 177.1 MB / 203.9 MB, free: 5.613 MB / 186.7 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 2.873/2.873, allocations: 377.8 MB / 0.6232 GB, free: 8.551 MB / 0.5886 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-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.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_12_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_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.834e-06/1.834e-06, allocations: 0 / 0.8108 GB, free: 2.078 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.364e-05/3.548e-05, allocations: 6.953 kB / 0.8108 GB, free: 2.07 MB / 0.7605 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002823/0.002858, allocations: 1.294 MB / 0.8121 GB, free: 0.7812 MB / 0.7605 GB Notification: Performance of NFInst.instExpressions: time 0.001321/0.004179, allocations: 0.8387 MB / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.799e-05/0.004207, allocations: 0 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeComponents: time 4.301e-05/0.00425, allocations: 0 / 0.8129 GB, free: 15.94 MB / 0.7761 GB Notification: Performance of NFTyping.typeBindings: time 0.0002348/0.004485, allocations: 20.5 kB / 0.8129 GB, free: 15.92 MB / 0.7761 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.004678, allocations: 48.77 kB / 0.813 GB, free: 15.88 MB / 0.7761 GB Notification: Performance of NFFlatten.flatten: time 8.526e-05/0.004764, allocations: 24.56 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFFlatten.resolveConnections: time 3.233e-05/0.004796, allocations: 4 kB / 0.813 GB, free: 15.85 MB / 0.7761 GB Notification: Performance of NFEvalConstants.evaluate: time 6.823e-05/0.004864, allocations: 12.86 kB / 0.813 GB, free: 15.84 MB / 0.7761 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001038/0.004968, allocations: 7.984 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.004984, allocations: 1.25 kB / 0.813 GB, free: 15.83 MB / 0.7761 GB Notification: Performance of NFFlatten.collectFunctions: time 6.65e-05/0.005051, allocations: 15.88 kB / 0.813 GB, free: 15.81 MB / 0.7761 GB Notification: Performance of NFScalarize.scalarize: time 4.898e-05/0.0051, allocations: 7.984 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFVerifyModel.verify: time 3.165e-05/0.005131, allocations: 4 kB / 0.813 GB, free: 15.8 MB / 0.7761 GB Notification: Performance of NFConvertDAE.convert: time 9.992e-05/0.005231, allocations: 21.72 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of FrontEnd - DAE generated: time 2.024e-06/0.005233, allocations: 0 / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of FrontEnd: time 7.61e-07/0.005234, allocations: 4 kB / 0.8131 GB, free: 15.78 MB / 0.7761 GB Notification: Performance of Transformations before backend: time 3.837e-06/0.005238, allocations: 0 / 0.8131 GB, free: 15.78 MB / 0.7761 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.0003751/0.005613, allocations: 247.6 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.005652, allocations: 8.031 kB / 0.8133 GB, free: 15.5 MB / 0.7761 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.32e-05/0.005745, allocations: 84.17 kB / 0.8134 GB, free: 15.41 MB / 0.7761 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001729/0.005918, allocations: 185.1 kB / 0.8136 GB, free: 15.21 MB / 0.7761 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001108/0.006029, allocations: 160.4 kB / 0.8137 GB, free: 15.05 MB / 0.7761 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.777e-05/0.006126, allocations: 154.9 kB / 0.8139 GB, free: 14.9 MB / 0.7761 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.105e-05/0.006217, allocations: 101.5 kB / 0.814 GB, free: 14.79 MB / 0.7761 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.792e-05/0.006265, allocations: 79.41 kB / 0.814 GB, free: 14.71 MB / 0.7761 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.432e-05/0.00636, allocations: 155.8 kB / 0.8142 GB, free: 14.56 MB / 0.7761 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.564e-05/0.006445, allocations: 150.9 kB / 0.8143 GB, free: 14.41 MB / 0.7761 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.243e-05/0.006538, allocations: 155.3 kB / 0.8145 GB, free: 14.26 MB / 0.7761 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003874/0.006925, allocations: 401.6 kB / 0.8149 GB, free: 13.84 MB / 0.7761 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001353/0.00706, allocations: 173.8 kB / 0.815 GB, free: 13.66 MB / 0.7761 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.932e-05/0.00712, allocations: 84.14 kB / 0.8151 GB, free: 13.57 MB / 0.7761 GB Notification: Performance of preOpt evalFunc (simulation): time 5.115e-05/0.007171, allocations: 76.5 kB / 0.8152 GB, free: 13.5 MB / 0.7761 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.148e-05/0.007252, allocations: 109.8 kB / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of pre-optimization done (n=0): time 7.41e-07/0.007253, allocations: 0 / 0.8153 GB, free: 13.38 MB / 0.7761 GB Notification: Performance of matching and sorting (n=0): time 9.324e-05/0.007346, allocations: 30.2 kB / 0.8153 GB, free: 13.35 MB / 0.7761 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.801e-05/0.007434, allocations: 126.7 kB / 0.8154 GB, free: 13.21 MB / 0.7761 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.007588, allocations: 110.9 kB / 0.8156 GB, free: 13.09 MB / 0.7761 GB Notification: Performance of collectPreVariables (initialization): time 2.86e-05/0.007617, allocations: 29.7 kB / 0.8156 GB, free: 13.06 MB / 0.7761 GB Notification: Performance of collectInitialEqns (initialization): time 6.552e-05/0.007682, allocations: 88.11 kB / 0.8157 GB, free: 12.97 MB / 0.7761 GB Notification: Performance of collectInitialBindings (initialization): time 5.089e-06/0.007687, allocations: 4.953 kB / 0.8157 GB, free: 12.96 MB / 0.7761 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.97e-05/0.007737, allocations: 21.7 kB / 0.8157 GB, free: 12.94 MB / 0.7761 GB Notification: Performance of setup shared object (initialization): time 0.0001951/0.007932, allocations: 311.3 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.431e-05/0.007956, allocations: 4 kB / 0.816 GB, free: 12.62 MB / 0.7761 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.491e-05/0.008011, allocations: 38.75 kB / 0.816 GB, free: 12.58 MB / 0.7761 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.51e-05/0.008056, allocations: 18.67 kB / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.008058, allocations: 0 / 0.816 GB, free: 12.56 MB / 0.7761 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000145/0.008203, allocations: 45.62 kB / 0.8161 GB, free: 12.51 MB / 0.7761 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.008219, allocations: 4 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.008225, allocations: 0.5938 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.021e-05/0.008245, allocations: 0 / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.008246, allocations: 3.438 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.008251, allocations: 0 / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001456/0.008397, allocations: 7.938 kB / 0.8161 GB, free: 12.5 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.502e-05/0.008412, allocations: 3.984 kB / 0.8161 GB, free: 12.49 MB / 0.7761 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.0001461/0.008558, allocations: 185.1 kB / 0.8163 GB, free: 12.3 MB / 0.7761 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.824e-05/0.008646, allocations: 105 kB / 0.8164 GB, free: 12.19 MB / 0.7761 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.696e-05/0.008723, allocations: 112.4 kB / 0.8165 GB, free: 12.08 MB / 0.7761 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0003558/0.009079, allocations: 180.3 kB / 0.8167 GB, free: 11.89 MB / 0.7761 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001052/0.009184, allocations: 184.7 kB / 0.8168 GB, free: 11.71 MB / 0.7761 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000112/0.009296, allocations: 188.2 kB / 0.817 GB, free: 11.52 MB / 0.7761 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002931/0.009589, allocations: 361.4 kB / 0.8174 GB, free: 11.12 MB / 0.7761 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.308e-05/0.009652, allocations: 106.3 kB / 0.8175 GB, free: 11.02 MB / 0.7761 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/0.009712, allocations: 101 kB / 0.8176 GB, free: 10.91 MB / 0.7761 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001189/0.009831, allocations: 184.2 kB / 0.8177 GB, free: 10.72 MB / 0.7761 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001076/0.009939, allocations: 180.5 kB / 0.8179 GB, free: 10.54 MB / 0.7761 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001095/0.01005, allocations: 176.9 kB / 0.8181 GB, free: 10.36 MB / 0.7761 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001145/0.01016, allocations: 192.2 kB / 0.8183 GB, free: 10.16 MB / 0.7761 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002161/0.01038, allocations: 308.3 kB / 0.8186 GB, free: 9.84 MB / 0.7761 GB Notification: Performance of postOpt removeConstants (simulation): time 8.837e-05/0.01047, allocations: 110.9 kB / 0.8187 GB, free: 9.727 MB / 0.7761 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001185/0.01059, allocations: 184.2 kB / 0.8188 GB, free: 9.539 MB / 0.7761 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001131/0.0107, allocations: 101 kB / 0.8189 GB, free: 9.434 MB / 0.7761 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001093/0.01081, allocations: 180.3 kB / 0.8191 GB, free: 9.25 MB / 0.7761 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.79e-05/0.01088, allocations: 108.9 kB / 0.8192 GB, free: 9.137 MB / 0.7761 GB Notification: Performance of sorting global known variables: time 6.894e-05/0.01095, allocations: 87.89 kB / 0.8193 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of sort global known variables: time 6e-08/0.01095, allocations: 0 / 0.8193 GB, free: 9.051 MB / 0.7761 GB Notification: Performance of remove unused functions: time 0.0002598/0.0112, allocations: 8.75 kB / 0.8193 GB, free: 9.043 MB / 0.7761 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.0003156/0.01152, allocations: 193.9 kB / 0.8195 GB, free: 8.848 MB / 0.7761 GB Notification: Performance of simCode: created initialization part: time 7.645e-05/0.0116, allocations: 4 kB / 0.8195 GB, free: 8.844 MB / 0.7761 GB Notification: Performance of simCode: created event and clocks part: time 5.32e-06/0.0116, allocations: 4 kB / 0.8195 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: created simulation system equations: time 1.823e-06/0.0116, allocations: 0 / 0.8195 GB, free: 8.84 MB / 0.7761 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/0.01209, allocations: 460.5 kB / 0.8199 GB, free: 8.387 MB / 0.7761 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003333/0.01242, allocations: 168.1 kB / 0.8201 GB, free: 8.195 MB / 0.7761 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.02e-05/0.0125, allocations: 65.33 kB / 0.8202 GB, free: 8.113 MB / 0.7761 GB Notification: Performance of simCode: alias equations: time 2.311e-05/0.01253, allocations: 4 kB / 0.8202 GB, free: 8.109 MB / 0.7761 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.383e-05/0.01255, allocations: 8.5 kB / 0.8202 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of SimCode: time 4.81e-07/0.01255, allocations: 0 / 0.8202 GB, free: 8.102 MB / 0.7761 GB Notification: Performance of Templates: time 0.003132/0.01568, allocations: 477.6 kB / 0.8206 GB, free: 7.691 MB / 0.7761 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile [Timeout 300] (rm -f Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; mkfifo Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe ; head -c 1048576 < Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe >> ../files/Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.sim & ./Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3_NonzeroStart.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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: 7.949353764997795]