Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.008966/0.008966, allocations: 98.3 kB / 15.73 MB, free: 6.012 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.001305/0.001305, allocations: 192.9 kB / 16.67 MB, free: 5.949 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.388/1.388, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437 MB / 0.7105 GB, free: 5.031 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001372/0.001372, allocations: 67.89 kB / 1.019 GB, free: 14.7 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3633/0.3646, allocations: 151.6 MB / 1.167 GB, free: 6.957 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3): time 0.002815/0.3675, allocations: 1.258 MB / 1.168 GB, free: 5.684 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.0013/0.3688, allocations: 0.7353 MB / 1.169 GB, free: 4.945 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.635e-05/0.3689, allocations: 3.938 kB / 1.169 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 5.302e-05/0.369, allocations: 0 / 1.169 GB, free: 4.941 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.0002587/0.3692, allocations: 15.92 kB / 1.169 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.3695, allocations: 47.94 kB / 1.169 GB, free: 4.879 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.3696, allocations: 27.84 kB / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.859e-05/0.3696, allocations: 0 / 1.169 GB, free: 4.852 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 7.008e-05/0.3697, allocations: 11.98 kB / 1.169 GB, free: 4.84 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001461/0.3699, allocations: 8 kB / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.776e-05/0.3699, allocations: 0 / 1.169 GB, free: 4.832 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 5.616e-05/0.37, allocations: 15.92 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 5.322e-05/0.37, allocations: 11.92 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.62e-05/0.3701, allocations: 4 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.3702, allocations: 31.84 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.3702, allocations: 0 / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.834e-06/0.3702, allocations: 3.938 kB / 1.169 GB, free: 4.766 MB / 0.92 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.3702, allocations: 0 / 1.169 GB, free: 4.766 MB / 0.92 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.0003973/0.3706, allocations: 323.5 kB / 1.169 GB, free: 4.398 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.3707, allocations: 8.031 kB / 1.169 GB, free: 4.391 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.64e-05/0.3708, allocations: 80.22 kB / 1.169 GB, free: 4.312 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001882/0.371, allocations: 255.6 kB / 1.169 GB, free: 4.023 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.223e-05/0.371, allocations: 150.9 kB / 1.17 GB, free: 3.875 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.083e-05/0.3711, allocations: 154.9 kB / 1.17 GB, free: 3.723 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.403e-05/0.3712, allocations: 101.5 kB / 1.17 GB, free: 3.617 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.924e-05/0.3712, allocations: 79.41 kB / 1.17 GB, free: 3.539 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.819e-05/0.3713, allocations: 154.5 kB / 1.17 GB, free: 3.387 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.935e-05/0.3714, allocations: 154.6 kB / 1.17 GB, free: 3.234 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.408e-05/0.3714, allocations: 150.6 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003477/0.3718, allocations: 453.9 kB / 1.171 GB, free: 2.594 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000101/0.3719, allocations: 173.1 kB / 1.171 GB, free: 2.414 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.531e-05/0.372, allocations: 88.08 kB / 1.171 GB, free: 2.324 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.855e-05/0.372, allocations: 75.28 kB / 1.171 GB, free: 2.25 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.442e-05/0.372, allocations: 105.8 kB / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.372, allocations: 0 / 1.171 GB, free: 2.137 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.917e-05/0.3721, allocations: 33.62 kB / 1.171 GB, free: 2.098 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.842e-05/0.3722, allocations: 134.6 kB / 1.171 GB, free: 1.953 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001465/0.3724, allocations: 113.8 kB / 1.171 GB, free: 1.832 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.749e-05/0.3724, allocations: 25.7 kB / 1.171 GB, free: 1.801 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 5.079e-05/0.3725, allocations: 88.12 kB / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 3.517e-06/0.3725, allocations: 0 / 1.172 GB, free: 1.711 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.3725, allocations: 13.72 kB / 1.172 GB, free: 1.691 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001463/0.3727, allocations: 322.9 kB / 1.172 GB, free: 1.367 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.244e-05/0.3727, allocations: 3.938 kB / 1.172 GB, free: 1.363 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.1e-05/0.3727, allocations: 12 kB / 1.172 GB, free: 1.352 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.252e-05/0.3728, allocations: 20.94 kB / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.3728, allocations: 0 / 1.172 GB, free: 1.328 MB / 0.92 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001231/0.3729, allocations: 41.66 kB / 1.172 GB, free: 1.281 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.554e-05/0.3729, allocations: 4 kB / 1.172 GB, free: 1.277 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.357e-06/0.373, allocations: 3.938 kB / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.069e-05/0.373, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.673e-06/0.373, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.373, allocations: 0 / 1.172 GB, free: 1.273 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000107/0.3731, allocations: 7.984 kB / 1.172 GB, free: 1.266 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3731, allocations: 4.031 kB / 1.172 GB, free: 1.262 MB / 0.92 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.0001187/0.3733, allocations: 193.1 kB / 1.172 GB, free: 1.062 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.3733, allocations: 101 kB / 1.172 GB, free: 0.957 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.337e-05/0.3734, allocations: 112.4 kB / 1.172 GB, free: 0.8359 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.95e-05/0.3735, allocations: 188.1 kB / 1.172 GB, free: 0.6445 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.871e-05/0.3736, allocations: 180.3 kB / 1.173 GB, free: 472 kB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.246e-05/0.3737, allocations: 180.2 kB / 1.173 GB, free: 284 kB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002964/0.374, allocations: 405.2 kB / 1.173 GB, free: 15.82 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.295e-05/0.374, allocations: 101 kB / 1.173 GB, free: 15.72 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.554e-05/0.3741, allocations: 104.9 kB / 1.173 GB, free: 15.61 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.412e-05/0.3742, allocations: 184.4 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.134e-05/0.3743, allocations: 196.1 kB / 1.174 GB, free: 15.22 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.846e-05/0.3744, allocations: 176.3 kB / 1.174 GB, free: 15.04 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.014e-05/0.3745, allocations: 176.3 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001729/0.3746, allocations: 307.8 kB / 1.174 GB, free: 14.54 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001182/0.3748, allocations: 194 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.465e-05/0.3749, allocations: 184.2 kB / 1.175 GB, free: 14.14 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.391e-05/0.375, allocations: 101 kB / 1.175 GB, free: 14.03 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.566e-05/0.3751, allocations: 188.1 kB / 1.175 GB, free: 13.84 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.894e-05/0.3751, allocations: 105 kB / 1.175 GB, free: 13.73 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 5.114e-05/0.3752, allocations: 87.53 kB / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1e-07/0.3752, allocations: 0 / 1.175 GB, free: 13.64 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002611/0.3755, allocations: 8 kB / 1.175 GB, free: 13.64 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.0004621/0.3759, allocations: 182.5 kB / 1.175 GB, free: 13.45 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001048/0.376, allocations: 11.92 kB / 1.175 GB, free: 13.44 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.585e-06/0.3761, allocations: 4 kB / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.994e-06/0.3761, allocations: 0 / 1.175 GB, free: 13.43 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004329/0.3765, allocations: 459.8 kB / 1.176 GB, free: 12.98 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003445/0.3769, allocations: 167.3 kB / 1.176 GB, free: 12.79 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003314/0.3772, allocations: 0.6806 MB / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.401e-05/0.3772, allocations: 0 / 1.177 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.3773, allocations: 11.44 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of SimCode: time 5.11e-07/0.3773, allocations: 4 kB / 1.177 GB, free: 12.07 MB / 0.9356 GB Notification: Performance of Templates: time 0.003084/0.3804, allocations: 435.6 kB / 1.177 GB, free: 11.66 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches