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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00126/0.00126, allocations: 107.1 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001253/0.001253, allocations: 190.3 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 222.9 MB / 240.9 MB, free: 15.2 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.783/2.783, allocations: 482.4 MB / 0.7553 GB, free: 6.992 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001998/0.001998, allocations: 68.23 kB / 0.9245 GB, free: 0 / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9586/0.9606, allocations: 162.2 MB / 1.083 GB, free: 1.656 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart): time 0.002509/0.9632, allocations: 1.266 MB / 1.084 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00104/0.9643, allocations: 0.736 MB / 1.085 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.976e-05/0.9643, allocations: 1.156 kB / 1.085 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.04e-05/0.9644, allocations: 0.6562 kB / 1.085 GB, free: 244 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002244/0.9646, allocations: 8.516 kB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001969/0.9648, allocations: 60.05 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.36e-05/0.9649, allocations: 22.2 kB / 1.085 GB, free: 200 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 5.251e-05/0.9649, allocations: 6.266 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 4.012e-05/0.965, allocations: 8.906 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001488/0.9651, allocations: 14.38 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.815e-05/0.9651, allocations: 0.9062 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 4.695e-05/0.9652, allocations: 5.938 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 4.616e-05/0.9653, allocations: 4.484 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.9653, allocations: 16.94 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.574e-05/0.9654, allocations: 16.84 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.19e-06/0.9654, allocations: 0.6875 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of FrontEnd: time 1.933e-06/0.9654, allocations: 0 / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.5e-06/0.9654, allocations: 0.75 kB / 1.085 GB, free: 172 kB / 0.8262 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.0003693/0.9658, allocations: 330.5 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.152e-05/0.9658, allocations: 10.59 kB / 1.085 GB, free: 15.81 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.803e-05/0.9659, allocations: 77.22 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.9662, allocations: 253.9 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.497e-05/0.9662, allocations: 156.4 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.565e-05/0.9663, allocations: 152.3 kB / 1.086 GB, free: 15.15 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.63e-05/0.9664, allocations: 106.2 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.431e-05/0.9665, allocations: 76.27 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.172e-05/0.9665, allocations: 155.1 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.426e-05/0.9666, allocations: 151.3 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.876e-05/0.9667, allocations: 162.5 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003717/0.9671, allocations: 454 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.939e-05/0.9672, allocations: 166.8 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.464e-05/0.9672, allocations: 80.14 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.253e-05/0.9673, allocations: 80.12 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.101e-05/0.9674, allocations: 107.4 kB / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.52e-07/0.9674, allocations: 0 / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.866e-05/0.9675, allocations: 36.34 kB / 1.087 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.691e-05/0.9675, allocations: 127.3 kB / 1.088 GB, free: 13.4 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001474/0.9677, allocations: 114.3 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.058e-05/0.9677, allocations: 25.7 kB / 1.088 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.976e-05/0.9678, allocations: 85.91 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.785e-06/0.9678, allocations: 0 / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.9678, allocations: 17.09 kB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000162/0.968, allocations: 312.7 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.022e-05/0.968, allocations: 4.141 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.11e-05/0.9681, allocations: 11.83 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.555e-05/0.9681, allocations: 13.28 kB / 1.088 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.158e-06/0.9681, allocations: 5.125 kB / 1.088 GB, free: 12.83 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001209/0.9683, allocations: 41.94 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.9683, allocations: 6.672 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.747e-06/0.9683, allocations: 3.938 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.396e-05/0.9683, allocations: 0 / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.52e-07/0.9683, allocations: 1.5 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.9683, allocations: 0.7031 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001551/0.9685, allocations: 2.109 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.439e-05/0.9685, allocations: 6 kB / 1.088 GB, free: 12.79 MB / 0.8419 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.0001387/0.9687, allocations: 189.1 kB / 1.088 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.59e-05/0.9687, allocations: 108.4 kB / 1.088 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.236e-05/0.9688, allocations: 110.7 kB / 1.089 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.701e-05/0.9689, allocations: 179 kB / 1.089 GB, free: 12.19 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.976e-05/0.969, allocations: 189.7 kB / 1.089 GB, free: 12 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.479e-05/0.9691, allocations: 185.4 kB / 1.089 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002863/0.9694, allocations: 403.2 kB / 1.09 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.912e-05/0.9695, allocations: 107.4 kB / 1.09 GB, free: 11.26 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.455e-05/0.9695, allocations: 103.5 kB / 1.09 GB, free: 11.15 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.37e-05/0.9696, allocations: 180.2 kB / 1.09 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.985e-05/0.9697, allocations: 186.6 kB / 1.09 GB, free: 10.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.269e-05/0.9698, allocations: 186.7 kB / 1.09 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.498e-05/0.9699, allocations: 177.4 kB / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001836/0.9701, allocations: 309.1 kB / 1.091 GB, free: 10.09 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001143/0.9702, allocations: 186.1 kB / 1.091 GB, free: 9.891 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.986e-05/0.9703, allocations: 190.6 kB / 1.091 GB, free: 9.699 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.96e-05/0.9704, allocations: 110.4 kB / 1.091 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001001/0.9705, allocations: 182.1 kB / 1.091 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.983e-05/0.9706, allocations: 106.8 kB / 1.091 GB, free: 9.293 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.234e-05/0.9706, allocations: 81.53 kB / 1.092 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9706, allocations: 0 / 1.092 GB, free: 9.219 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002461/0.9709, allocations: 3.891 kB / 1.092 GB, free: 9.219 MB / 0.8419 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.0003163/0.9712, allocations: 190.8 kB / 1.092 GB, free: 9.055 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.176e-05/0.9713, allocations: 14.34 kB / 1.092 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.9713, allocations: 0 / 1.092 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 2.986e-06/0.9713, allocations: 1.062 kB / 1.092 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004298/0.9717, allocations: 465.9 kB / 1.092 GB, free: 8.59 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003259/0.9721, allocations: 199.1 kB / 1.092 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.9724, allocations: 0.6754 MB / 1.093 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.556e-05/0.9725, allocations: 8.844 kB / 1.093 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.9725, allocations: 0 / 1.093 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of Templates: time 0.002289/0.9748, allocations: 0.5238 MB / 1.094 GB, free: 7.645 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_NonzeroStart.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches