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.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,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|timeSpan.1.|timeSpan.2.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001301/0.001301, allocations: 104.9 kB / 16.27 MB, free: 6.414 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.001319/0.001319, allocations: 189.8 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.439/1.439, allocations: 222.9 MB / 240.9 MB, free: 15.22 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.853/2.853, allocations: 482.4 MB / 0.7553 GB, free: 6.984 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001979/0.001979, allocations: 68.38 kB / 0.9245 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.05/1.052, allocations: 162.2 MB / 1.083 GB, free: 1.648 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.003724/1.056, allocations: 1.255 MB / 1.084 GB, free: 0.7695 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.001484/1.057, allocations: 0.7408 MB / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.559e-05/1.057, allocations: 0 / 1.085 GB, free: 240 kB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 4.011e-05/1.057, allocations: 4.594 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 0.0002966/1.058, allocations: 5.172 kB / 1.085 GB, free: 236 kB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002756/1.058, allocations: 54.77 kB / 1.085 GB, free: 208 kB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 0.0001015/1.058, allocations: 27.88 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 6.581e-05/1.058, allocations: 1.594 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.385e-05/1.058, allocations: 9.906 kB / 1.085 GB, free: 196 kB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001769/1.058, allocations: 9.797 kB / 1.085 GB, free: 192 kB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/1.058, allocations: 4.844 kB / 1.085 GB, free: 188 kB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 6.37e-05/1.058, allocations: 10.28 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 5.686e-05/1.058, allocations: 5.125 kB / 1.085 GB, free: 184 kB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 6.564e-05/1.059, allocations: 11.12 kB / 1.085 GB, free: 176 kB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001237/1.059, allocations: 18.17 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/1.059, allocations: 0.6562 kB / 1.085 GB, free: 172 kB / 0.8262 GB Notification: Performance of FrontEnd: time 2.705e-06/1.059, allocations: 3.938 kB / 1.085 GB, free: 168 kB / 0.8262 GB Notification: Performance of Transformations before backend: time 6.302e-06/1.059, allocations: 1.562 kB / 1.085 GB, free: 168 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.0004338/1.059, allocations: 330.5 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 5.319e-05/1.059, allocations: 13.44 kB / 1.085 GB, free: 15.8 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.495e-05/1.059, allocations: 77.34 kB / 1.085 GB, free: 15.73 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002181/1.06, allocations: 246 kB / 1.086 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.264e-05/1.06, allocations: 156 kB / 1.086 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.528e-05/1.06, allocations: 157 kB / 1.086 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.178e-05/1.06, allocations: 101.5 kB / 1.086 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.874e-05/1.06, allocations: 80.81 kB / 1.086 GB, free: 14.96 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.779e-05/1.06, allocations: 155.1 kB / 1.086 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.495e-05/1.06, allocations: 154.6 kB / 1.086 GB, free: 14.66 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.75e-05/1.06, allocations: 155.6 kB / 1.087 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004633/1.061, allocations: 449.3 kB / 1.087 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001205/1.061, allocations: 170.2 kB / 1.087 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.851e-05/1.061, allocations: 81.14 kB / 1.087 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.974e-05/1.061, allocations: 75.94 kB / 1.087 GB, free: 13.69 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.73e-05/1.061, allocations: 110.8 kB / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.262e-06/1.061, allocations: 0 / 1.087 GB, free: 13.57 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001341/1.061, allocations: 37.45 kB / 1.087 GB, free: 13.54 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.245e-05/1.061, allocations: 131.2 kB / 1.088 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001612/1.061, allocations: 108.8 kB / 1.088 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.251e-05/1.061, allocations: 26.89 kB / 1.088 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.698e-05/1.061, allocations: 85.97 kB / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.254e-06/1.062, allocations: 0 / 1.088 GB, free: 13.17 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.352e-05/1.062, allocations: 16.41 kB / 1.088 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.000176/1.062, allocations: 313.3 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3e-05/1.062, allocations: 11.47 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.873e-05/1.062, allocations: 8.844 kB / 1.088 GB, free: 12.84 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.378e-05/1.062, allocations: 18.38 kB / 1.088 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.944e-06/1.062, allocations: 0 / 1.088 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001677/1.062, allocations: 42.05 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.83e-05/1.062, allocations: 4.781 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.151e-05/1.062, allocations: 5.188 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.865e-05/1.062, allocations: 0.8438 kB / 1.088 GB, free: 12.79 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/1.062, allocations: 4.125 kB / 1.088 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.414e-06/1.062, allocations: 1.5 kB / 1.088 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/1.062, allocations: 2.125 kB / 1.088 GB, free: 12.78 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.6e-05/1.062, allocations: 6.109 kB / 1.088 GB, free: 12.78 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.0002125/1.063, allocations: 184.1 kB / 1.088 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.938e-05/1.063, allocations: 109.7 kB / 1.088 GB, free: 12.48 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.723e-05/1.063, allocations: 110.4 kB / 1.089 GB, free: 12.37 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001033/1.063, allocations: 182.4 kB / 1.089 GB, free: 12.18 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001004/1.063, allocations: 193 kB / 1.089 GB, free: 11.99 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.98e-05/1.063, allocations: 178.4 kB / 1.089 GB, free: 11.81 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003575/1.063, allocations: 403.6 kB / 1.09 GB, free: 11.36 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.64e-05/1.064, allocations: 107.1 kB / 1.09 GB, free: 11.25 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.029e-05/1.064, allocations: 105.7 kB / 1.09 GB, free: 11.14 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.576e-05/1.064, allocations: 185.9 kB / 1.09 GB, free: 10.96 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.408e-05/1.064, allocations: 186.7 kB / 1.09 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.077e-05/1.064, allocations: 181.6 kB / 1.09 GB, free: 10.59 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-05/1.064, allocations: 177.8 kB / 1.09 GB, free: 10.41 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002075/1.064, allocations: 313.9 kB / 1.091 GB, free: 10.08 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001475/1.064, allocations: 185 kB / 1.091 GB, free: 9.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001229/1.065, allocations: 186.8 kB / 1.091 GB, free: 9.691 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001379/1.065, allocations: 106.3 kB / 1.091 GB, free: 9.582 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001288/1.065, allocations: 182.6 kB / 1.091 GB, free: 9.398 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.417e-05/1.065, allocations: 106 kB / 1.091 GB, free: 9.289 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 6.852e-05/1.065, allocations: 82.38 kB / 1.092 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.81e-07/1.065, allocations: 1.062 kB / 1.092 GB, free: 9.215 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004277/1.065, allocations: 3.344 kB / 1.092 GB, free: 9.215 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.0004195/1.066, allocations: 187.9 kB / 1.092 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001073/1.066, allocations: 5.5 kB / 1.092 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.066, allocations: 4.062 kB / 1.092 GB, free: 9.047 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 7.894e-06/1.066, allocations: 9.219 kB / 1.092 GB, free: 9.039 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006099/1.067, allocations: 453.8 kB / 1.092 GB, free: 8.594 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004179/1.067, allocations: 200 kB / 1.092 GB, free: 8.383 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004018/1.068, allocations: 0.6793 MB / 1.093 GB, free: 7.684 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.441e-05/1.068, allocations: 8.906 kB / 1.093 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of SimCode: time 3e-07/1.068, allocations: 0 / 1.093 GB, free: 7.676 MB / 0.8419 GB Notification: Performance of Templates: time 0.003671/1.071, allocations: 0.5122 MB / 1.094 GB, free: 7.652 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (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=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) 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/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches