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.007506/0.007506, allocations: 103.1 kB / 15.73 MB, free: 6.008 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.001667/0.001667, allocations: 191.7 kB / 16.67 MB, free: 5.93 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.449/1.449, allocations: 222.9 MB / 240.3 MB, free: 15.08 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.774/2.774, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001358/0.001358, allocations: 67.89 kB / 1.054 GB, free: 7.691 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9478/0.9492, allocations: 157.4 MB / 1.208 GB, free: 13.6 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003339/0.9526, allocations: 1.244 MB / 1.209 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001396/0.954, allocations: 0.7183 MB / 1.21 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.482e-05/0.9541, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 3.782e-05/0.9541, allocations: 4 kB / 1.21 GB, free: 11.62 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.000305/0.9545, allocations: 19.91 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001019/0.9546, allocations: 4 kB / 1.21 GB, free: 11.6 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.014e-05/0.9547, allocations: 11.88 kB / 1.21 GB, free: 11.59 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.454e-05/0.9547, allocations: 7.984 kB / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 2.198e-05/0.9548, allocations: 0 / 1.21 GB, free: 11.58 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001599/0.9549, allocations: 7.984 kB / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.833e-05/0.955, allocations: 0 / 1.21 GB, free: 11.57 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 6.536e-05/0.955, allocations: 8 kB / 1.21 GB, free: 11.56 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.617e-05/0.9551, allocations: 11.98 kB / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.959e-05/0.9551, allocations: 0 / 1.21 GB, free: 11.55 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.9553, allocations: 15.92 kB / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.35e-06/0.9553, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.362e-06/0.9553, allocations: 0 / 1.21 GB, free: 11.54 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.9553, allocations: 0 / 1.21 GB, free: 11.54 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.0004248/0.9557, allocations: 311.6 kB / 1.21 GB, free: 11.18 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 5.033e-05/0.9558, allocations: 8.031 kB / 1.21 GB, free: 11.17 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.509e-05/0.9559, allocations: 84.22 kB / 1.21 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002161/0.9561, allocations: 247.5 kB / 1.21 GB, free: 10.81 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.052e-05/0.9562, allocations: 150.9 kB / 1.21 GB, free: 10.66 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.535e-05/0.9563, allocations: 150.9 kB / 1.211 GB, free: 10.51 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.932e-05/0.9564, allocations: 101.5 kB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.374e-05/0.9564, allocations: 79.47 kB / 1.211 GB, free: 10.33 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.9565, allocations: 162.5 kB / 1.211 GB, free: 10.17 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.251e-05/0.9566, allocations: 150.6 kB / 1.211 GB, free: 10.02 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.562e-05/0.9567, allocations: 154.5 kB / 1.211 GB, free: 9.867 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000376/0.9571, allocations: 442 kB / 1.212 GB, free: 9.387 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 9.494e-05/0.9572, allocations: 169.1 kB / 1.212 GB, free: 9.211 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.97e-05/0.9572, allocations: 88.14 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 3.592e-05/0.9573, allocations: 75.28 kB / 1.212 GB, free: 9.047 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.493e-05/0.9573, allocations: 105.8 kB / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 1.453e-06/0.9573, allocations: 0 / 1.212 GB, free: 8.934 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001107/0.9575, allocations: 41.56 kB / 1.212 GB, free: 8.887 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.714e-05/0.9575, allocations: 126.7 kB / 1.212 GB, free: 8.75 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001391/0.9577, allocations: 97.86 kB / 1.212 GB, free: 8.645 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.723e-05/0.9577, allocations: 25.7 kB / 1.212 GB, free: 8.613 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.9578, allocations: 84.14 kB / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.447e-06/0.9578, allocations: 0 / 1.212 GB, free: 8.527 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.415e-05/0.9578, allocations: 9.719 kB / 1.212 GB, free: 8.512 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001412/0.958, allocations: 318.8 kB / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.302e-06/0.958, allocations: 0 / 1.213 GB, free: 8.191 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.853e-05/0.958, allocations: 4.125 kB / 1.213 GB, free: 8.188 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.854e-05/0.958, allocations: 75.28 kB / 1.213 GB, free: 8.113 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.237e-05/0.9581, allocations: 79.22 kB / 1.213 GB, free: 8.035 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0) (initialization): time 6.967e-05/0.9582, allocations: 37.55 kB / 1.213 GB, free: 7.992 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 4.918e-05/0.9582, allocations: 79.28 kB / 1.213 GB, free: 7.914 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.645e-05/0.9583, allocations: 83.22 kB / 1.213 GB, free: 7.832 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.148e-05/0.9583, allocations: 154.6 kB / 1.213 GB, free: 7.68 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.666e-05/0.9584, allocations: 79.25 kB / 1.213 GB, free: 7.602 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.993e-05/0.9584, allocations: 162.6 kB / 1.213 GB, free: 7.441 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001403/0.9586, allocations: 83.22 kB / 1.214 GB, free: 7.359 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.653e-05/0.9586, allocations: 75.28 kB / 1.214 GB, free: 7.285 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 0.0001304/0.9587, allocations: 256.4 kB / 1.214 GB, free: 7.023 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.597e-05/0.9588, allocations: 112.9 kB / 1.214 GB, free: 6.906 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.782e-05/0.9589, allocations: 116 kB / 1.214 GB, free: 6.785 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.605e-05/0.959, allocations: 176.3 kB / 1.214 GB, free: 6.605 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.319e-05/0.959, allocations: 180.2 kB / 1.214 GB, free: 6.422 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-05/0.9591, allocations: 180.5 kB / 1.215 GB, free: 6.238 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002403/0.9594, allocations: 405.2 kB / 1.215 GB, free: 5.785 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.392e-05/0.9594, allocations: 109 kB / 1.215 GB, free: 5.672 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.108e-05/0.9595, allocations: 112.9 kB / 1.215 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.514e-05/0.9596, allocations: 180.2 kB / 1.215 GB, free: 5.371 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-05/0.9596, allocations: 180.2 kB / 1.216 GB, free: 5.188 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.855e-05/0.9597, allocations: 184.2 kB / 1.216 GB, free: 5 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.086e-05/0.9598, allocations: 184.3 kB / 1.216 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001589/0.9599, allocations: 307.8 kB / 1.216 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.707e-05/0.96, allocations: 186.1 kB / 1.216 GB, free: 4.281 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.77e-05/0.9601, allocations: 188.1 kB / 1.217 GB, free: 4.09 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.775e-05/0.9602, allocations: 101 kB / 1.217 GB, free: 3.984 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.94e-05/0.9603, allocations: 184.3 kB / 1.217 GB, free: 3.797 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.9604, allocations: 104.9 kB / 1.217 GB, free: 3.688 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.804e-05/0.9604, allocations: 83.27 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9604, allocations: 0 / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.000256/0.9607, allocations: 7.656 kB / 1.217 GB, free: 3.602 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.0003444/0.961, allocations: 188.7 kB / 1.217 GB, free: 3.406 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 6.352e-05/0.9611, allocations: 8 kB / 1.217 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.9611, allocations: 0 / 1.217 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 3.787e-06/0.9611, allocations: 0 / 1.217 GB, free: 3.398 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003836/0.9615, allocations: 461.6 kB / 1.218 GB, free: 2.945 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003308/0.9619, allocations: 172.8 kB / 1.218 GB, free: 2.746 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002706/0.9621, allocations: 0.669 MB / 1.218 GB, free: 2.051 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.993e-05/0.9622, allocations: 4 kB / 1.218 GB, free: 2.047 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.104e-05/0.9622, allocations: 11.44 kB / 1.218 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of SimCode: time 2.31e-07/0.9622, allocations: 0 / 1.218 GB, free: 2.039 MB / 0.9356 GB Notification: Performance of Templates: time 0.002836/0.965, allocations: 319.7 kB / 1.219 GB, free: 1.766 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/jenkins/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