Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.006929/0.006929, allocations: 104.6 kB / 15.74 MB, free: 6.492 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.001469/0.00147, allocations: 191.7 kB / 16.68 MB, free: 6.375 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.447/1.447, allocations: 222.9 MB / 240.3 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.629/2.629, allocations: 390.2 MB / 0.6648 GB, free: 172 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001312/0.001312, allocations: 62.75 kB / 0.9509 GB, free: 5.496 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3576, allocations: 140.4 MB / 1.088 GB, free: 1.457 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.003031/0.3607, allocations: 1.266 MB / 1.089 GB, free: 188 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001178/0.3619, allocations: 0.743 MB / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.05e-05/0.3619, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 4.271e-05/0.362, allocations: 0 / 1.09 GB, free: 15.44 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0002538/0.3623, allocations: 11.94 kB / 1.09 GB, free: 15.43 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001983/0.3625, allocations: 51.91 kB / 1.09 GB, free: 15.38 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 8.915e-05/0.3626, allocations: 19.92 kB / 1.09 GB, free: 15.36 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.453e-05/0.3626, allocations: 4 kB / 1.09 GB, free: 15.35 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.106e-05/0.3627, allocations: 15.92 kB / 1.09 GB, free: 15.34 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001476/0.3629, allocations: 11.98 kB / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.685e-05/0.3629, allocations: 0 / 1.09 GB, free: 15.32 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 4.738e-05/0.3629, allocations: 11.94 kB / 1.09 GB, free: 15.31 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 5.513e-05/0.363, allocations: 7.969 kB / 1.09 GB, free: 15.3 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.275e-05/0.363, allocations: 11.94 kB / 1.09 GB, free: 15.29 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001235/0.3632, allocations: 23.98 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.662e-06/0.3632, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.024e-06/0.3632, allocations: 3.938 kB / 1.09 GB, free: 15.27 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.972e-06/0.3632, allocations: 0 / 1.09 GB, free: 15.27 MB / 0.8575 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.0003788/0.3636, allocations: 323.5 kB / 1.09 GB, free: 14.9 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.159e-05/0.3636, allocations: 8.031 kB / 1.09 GB, free: 14.89 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.576e-05/0.3637, allocations: 84.12 kB / 1.09 GB, free: 14.81 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001624/0.3639, allocations: 243.7 kB / 1.091 GB, free: 14.53 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.788e-05/0.3639, allocations: 154.9 kB / 1.091 GB, free: 14.38 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.042e-05/0.364, allocations: 154.9 kB / 1.091 GB, free: 14.23 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.567e-05/0.3641, allocations: 106.9 kB / 1.091 GB, free: 14.12 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.468e-05/0.3641, allocations: 75.47 kB / 1.091 GB, free: 14.04 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.709e-05/0.3642, allocations: 154.5 kB / 1.091 GB, free: 13.89 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.331e-05/0.3643, allocations: 154.6 kB / 1.091 GB, free: 13.74 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.239e-05/0.3643, allocations: 150.6 kB / 1.092 GB, free: 13.59 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000285/0.3646, allocations: 449.9 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.751e-05/0.3647, allocations: 177 kB / 1.092 GB, free: 12.92 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.607e-05/0.3647, allocations: 84.14 kB / 1.092 GB, free: 12.83 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.3648, allocations: 79.28 kB / 1.092 GB, free: 12.75 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.3648, allocations: 105.8 kB / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.22e-07/0.3648, allocations: 0 / 1.092 GB, free: 12.64 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.15e-05/0.3649, allocations: 29.64 kB / 1.092 GB, free: 12.61 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.365, allocations: 126.7 kB / 1.093 GB, free: 12.47 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001163/0.3651, allocations: 105.8 kB / 1.093 GB, free: 12.36 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.598e-05/0.3651, allocations: 33.7 kB / 1.093 GB, free: 12.32 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.012e-05/0.3652, allocations: 84.12 kB / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 5.38e-06/0.3652, allocations: 0 / 1.093 GB, free: 12.23 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.3652, allocations: 25.56 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000128/0.3654, allocations: 314.9 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.285e-05/0.3654, allocations: 4.25 kB / 1.093 GB, free: 11.88 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.276e-05/0.3654, allocations: 11.98 kB / 1.093 GB, free: 11.87 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.278e-05/0.3655, allocations: 24.95 kB / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.034e-06/0.3655, allocations: 0 / 1.093 GB, free: 11.84 MB / 0.8575 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001108/0.3656, allocations: 37.69 kB / 1.093 GB, free: 11.8 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/0.3656, allocations: 8 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.3656, allocations: 3.938 kB / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.576e-05/0.3657, allocations: 0 / 1.093 GB, free: 11.79 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.132e-06/0.3657, allocations: 3.938 kB / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.113e-06/0.3657, allocations: 0 / 1.093 GB, free: 11.78 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001023/0.3658, allocations: 7.875 kB / 1.093 GB, free: 11.77 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.476e-05/0.3658, allocations: 7.984 kB / 1.093 GB, free: 11.77 MB / 0.8575 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.0001282/0.3659, allocations: 187.1 kB / 1.093 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.377e-05/0.366, allocations: 109 kB / 1.094 GB, free: 11.46 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.904e-05/0.3661, allocations: 108.5 kB / 1.094 GB, free: 11.34 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.21e-05/0.3661, allocations: 184.2 kB / 1.094 GB, free: 11.16 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.659e-05/0.3662, allocations: 180.3 kB / 1.094 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.794e-05/0.3663, allocations: 188.2 kB / 1.094 GB, free: 10.78 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000232/0.3666, allocations: 405.2 kB / 1.095 GB, free: 10.33 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.048e-05/0.3666, allocations: 101 kB / 1.095 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.165e-05/0.3667, allocations: 105.1 kB / 1.095 GB, free: 10.11 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-05/0.3667, allocations: 176.3 kB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.149e-05/0.3668, allocations: 200.2 kB / 1.095 GB, free: 9.73 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.504e-05/0.3669, allocations: 180.2 kB / 1.095 GB, free: 9.547 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.26e-05/0.367, allocations: 176.3 kB / 1.095 GB, free: 9.367 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001558/0.3671, allocations: 303.8 kB / 1.096 GB, free: 9.047 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.2e-05/0.3672, allocations: 189.9 kB / 1.096 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.296e-05/0.3673, allocations: 192.2 kB / 1.096 GB, free: 8.641 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.768e-05/0.3674, allocations: 101 kB / 1.096 GB, free: 8.535 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.161e-05/0.3675, allocations: 184.1 kB / 1.096 GB, free: 8.348 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.921e-05/0.3675, allocations: 105 kB / 1.096 GB, free: 8.238 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 4.076e-05/0.3676, allocations: 87.27 kB / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3676, allocations: 0 / 1.097 GB, free: 8.152 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002364/0.3678, allocations: 8 kB / 1.097 GB, free: 8.145 MB / 0.8575 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.0003074/0.3681, allocations: 193.6 kB / 1.097 GB, free: 7.949 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 9.246e-05/0.3682, allocations: 7.938 kB / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.135e-06/0.3682, allocations: 0 / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.194e-06/0.3682, allocations: 0 / 1.097 GB, free: 7.941 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004526/0.3687, allocations: 467.7 kB / 1.097 GB, free: 7.48 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002891/0.369, allocations: 160.9 kB / 1.097 GB, free: 7.297 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003129/0.3693, allocations: 0.6768 MB / 1.098 GB, free: 6.594 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 2.12e-05/0.3694, allocations: 3.938 kB / 1.098 GB, free: 6.59 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.796e-05/0.3694, allocations: 11.44 kB / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of SimCode: time 1.9e-07/0.3694, allocations: 0 / 1.098 GB, free: 6.578 MB / 0.8575 GB Notification: Performance of Templates: time 0.002637/0.372, allocations: 440.1 kB / 1.098 GB, free: 6.16 MB / 0.8575 GB make -j1 -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches