Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") translateModel(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00121/0.00121, allocations: 106.4 kB / 16.41 MB, free: 6.484 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.001135/0.001135, allocations: 189.5 kB / 17.34 MB, free: 5.762 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.236/1.236, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.374/2.374, allocations: 461.9 MB / 0.7354 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001145/0.001145, allocations: 63.91 kB / 1.055 GB, free: 7.668 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6726/0.6738, allocations: 157.4 MB / 1.208 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002213/0.676, allocations: 1.229 MB / 1.21 GB, free: 12.4 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.0008948/0.6769, allocations: 0.7193 MB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.295e-05/0.677, allocations: 4 kB / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 2.679e-05/0.677, allocations: 0 / 1.21 GB, free: 11.68 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.6772, allocations: 19.92 kB / 1.21 GB, free: 11.66 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 6.477e-05/0.6773, allocations: 4 kB / 1.21 GB, free: 11.65 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 5.584e-05/0.6773, allocations: 19.84 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 3.988e-05/0.6774, allocations: 4 kB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 1.731e-05/0.6774, allocations: 0 / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002673/0.6777, allocations: 7.984 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.951e-05/0.6777, allocations: 0 / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 4.069e-05/0.6778, allocations: 8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 3.469e-05/0.6778, allocations: 8 kB / 1.21 GB, free: 11.61 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 2.067e-05/0.6778, allocations: 3.984 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 7.021e-05/0.6779, allocations: 11.92 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.467e-06/0.6779, allocations: 4 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.383e-06/0.6779, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.6779, allocations: 0 / 1.21 GB, free: 11.59 MB / 0.9356 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.0002728/0.6782, allocations: 315.6 kB / 1.211 GB, free: 11.23 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.04e-05/0.6782, allocations: 8.031 kB / 1.211 GB, free: 11.22 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.448e-05/0.6783, allocations: 76.22 kB / 1.211 GB, free: 11.14 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/0.6785, allocations: 247.6 kB / 1.211 GB, free: 10.86 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.352e-05/0.6786, allocations: 150.9 kB / 1.211 GB, free: 10.71 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001219/0.6787, allocations: 150.9 kB / 1.211 GB, free: 10.57 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.926e-05/0.6788, allocations: 109.5 kB / 1.211 GB, free: 10.45 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.792e-05/0.6788, allocations: 75.47 kB / 1.212 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.91e-05/0.6788, allocations: 162.5 kB / 1.212 GB, free: 10.22 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001286/0.679, allocations: 150.6 kB / 1.212 GB, free: 10.07 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.347e-05/0.679, allocations: 158.5 kB / 1.212 GB, free: 9.914 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003207/0.6794, allocations: 438 kB / 1.212 GB, free: 9.438 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 8.942e-05/0.6795, allocations: 177.1 kB / 1.213 GB, free: 9.254 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.825e-05/0.6795, allocations: 80.14 kB / 1.213 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 6.515e-05/0.6796, allocations: 75.28 kB / 1.213 GB, free: 9.098 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.165e-05/0.6796, allocations: 113.8 kB / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.6796, allocations: 0 / 1.213 GB, free: 8.977 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 6.573e-05/0.6797, allocations: 33.58 kB / 1.213 GB, free: 8.938 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.655e-05/0.6798, allocations: 130.7 kB / 1.213 GB, free: 8.797 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.725e-05/0.6799, allocations: 97.86 kB / 1.213 GB, free: 8.691 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.161e-05/0.6799, allocations: 29.7 kB / 1.213 GB, free: 8.656 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 2.851e-05/0.6799, allocations: 80.14 kB / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 1.422e-06/0.6799, allocations: 0 / 1.213 GB, free: 8.574 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.155e-05/0.68, allocations: 9.719 kB / 1.213 GB, free: 8.559 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001054/0.6801, allocations: 318.8 kB / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.888e-06/0.6801, allocations: 0 / 1.213 GB, free: 8.238 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.347e-05/0.6801, allocations: 4.125 kB / 1.213 GB, free: 8.234 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.916e-05/0.6801, allocations: 75.28 kB / 1.214 GB, free: 8.16 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-05/0.6802, allocations: 75.28 kB / 1.214 GB, free: 8.086 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.596e-05/0.6802, allocations: 41.48 kB / 1.214 GB, free: 8.039 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 7.621e-05/0.6803, allocations: 79.28 kB / 1.214 GB, free: 7.961 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.369e-05/0.6803, allocations: 83.22 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.936e-05/0.6804, allocations: 154.6 kB / 1.214 GB, free: 7.727 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.146e-05/0.6804, allocations: 87.23 kB / 1.214 GB, free: 7.641 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.172e-05/0.6805, allocations: 154.6 kB / 1.214 GB, free: 7.488 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001197/0.6806, allocations: 79.22 kB / 1.214 GB, free: 7.41 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.983e-05/0.6806, allocations: 79.28 kB / 1.214 GB, free: 7.332 MB / 0.9356 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 (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 prepare postOptimizeDAE: time 9.484e-05/0.6807, allocations: 256.4 kB / 1.215 GB, free: 7.07 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.373e-05/0.6808, allocations: 112.9 kB / 1.215 GB, free: 6.953 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.024e-05/0.6809, allocations: 116 kB / 1.215 GB, free: 6.832 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.665e-05/0.6809, allocations: 180.2 kB / 1.215 GB, free: 6.648 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.244e-05/0.681, allocations: 180.2 kB / 1.215 GB, free: 6.465 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.85e-05/0.681, allocations: 180.5 kB / 1.215 GB, free: 6.281 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002044/0.6812, allocations: 405.2 kB / 1.216 GB, free: 5.828 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.633e-05/0.6813, allocations: 109 kB / 1.216 GB, free: 5.715 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.955e-05/0.6813, allocations: 105 kB / 1.216 GB, free: 5.605 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.203e-05/0.6814, allocations: 180.2 kB / 1.216 GB, free: 5.422 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-05/0.6814, allocations: 184.2 kB / 1.216 GB, free: 5.234 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.419e-05/0.6815, allocations: 184.1 kB / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.836e-05/0.6816, allocations: 184.3 kB / 1.217 GB, free: 4.859 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001619/0.6817, allocations: 303.8 kB / 1.217 GB, free: 4.539 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 7.823e-05/0.6818, allocations: 190.1 kB / 1.217 GB, free: 4.328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.87e-05/0.6819, allocations: 184.1 kB / 1.217 GB, free: 4.141 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.554e-05/0.6819, allocations: 101 kB / 1.217 GB, free: 4.035 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.186e-05/0.682, allocations: 184.3 kB / 1.218 GB, free: 3.848 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.102e-05/0.682, allocations: 104.9 kB / 1.218 GB, free: 3.738 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 3.29e-05/0.6821, allocations: 79.27 kB / 1.218 GB, free: 3.66 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.51e-07/0.6821, allocations: 4 kB / 1.218 GB, free: 3.656 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002491/0.6823, allocations: 7.656 kB / 1.218 GB, free: 3.652 MB / 0.9356 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.0002418/0.6826, allocations: 186.6 kB / 1.218 GB, free: 3.457 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 3.736e-05/0.6826, allocations: 8 kB / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.363e-06/0.6826, allocations: 0 / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.263e-06/0.6826, allocations: 0 / 1.218 GB, free: 3.449 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003645/0.683, allocations: 455.6 kB / 1.218 GB, free: 3 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002909/0.6833, allocations: 202.4 kB / 1.219 GB, free: 2.766 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003078/0.6836, allocations: 0.669 MB / 1.219 GB, free: 2.07 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.215e-05/0.6836, allocations: 7.438 kB / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of SimCode: time 2.81e-07/0.6837, allocations: 0 / 1.219 GB, free: 2.066 MB / 0.9356 GB Notification: Performance of Templates: time 0.001523/0.6852, allocations: 492.9 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB make -j1 -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches