Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_11_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_11_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.001474/0.001474, allocations: 111.4 kB / 15.99 MB, free: 5.914 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.001678/0.001678, allocations: 191.4 kB / 16.91 MB, free: 5.754 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.444/1.444, allocations: 222.9 MB / 240.6 MB, free: 15.43 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.767/2.767, allocations: 469.8 MB / 0.7427 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.003052/0.003052, allocations: 70.92 kB / 0.9087 GB, free: 14.26 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4697/0.4728, allocations: 159.1 MB / 1.064 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.004081/0.4769, allocations: 1.305 MB / 1.065 GB, free: 13.82 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001706/0.4787, allocations: 0.6957 MB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.919e-05/0.4787, allocations: 4 kB / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.814e-05/0.4788, allocations: 0 / 1.066 GB, free: 13.12 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0003356/0.4792, allocations: 19.91 kB / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 9.629e-05/0.4793, allocations: 0 / 1.066 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 6.543e-05/0.4794, allocations: 8 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.522e-05/0.4795, allocations: 4 kB / 1.066 GB, free: 13.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.358e-05/0.4795, allocations: 11.92 kB / 1.066 GB, free: 13.08 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000233/0.4798, allocations: 7.984 kB / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.4798, allocations: 0 / 1.066 GB, free: 13.07 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 6.131e-05/0.4799, allocations: 8 kB / 1.066 GB, free: 13.06 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.453e-05/0.4799, allocations: 7.922 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.179e-05/0.48, allocations: 4 kB / 1.066 GB, free: 13.05 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 8.884e-05/0.4801, allocations: 7.984 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.4801, allocations: 4 kB / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of FrontEnd: time 2.024e-06/0.4801, allocations: 0 / 1.066 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 6.301e-06/0.4802, allocations: 4 kB / 1.066 GB, free: 13.04 MB / 0.8419 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.0004454/0.4806, allocations: 311.6 kB / 1.066 GB, free: 12.68 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.815e-05/0.4807, allocations: 8.031 kB / 1.066 GB, free: 12.67 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.641e-05/0.4808, allocations: 76.22 kB / 1.067 GB, free: 12.6 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002467/0.481, allocations: 243.7 kB / 1.067 GB, free: 12.32 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.756e-05/0.4811, allocations: 154.9 kB / 1.067 GB, free: 12.17 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001114/0.4813, allocations: 158.9 kB / 1.067 GB, free: 12.01 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.69e-05/0.4814, allocations: 101.5 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.689e-05/0.4815, allocations: 83.45 kB / 1.067 GB, free: 11.82 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.485e-05/0.4816, allocations: 158.5 kB / 1.067 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.693e-05/0.4817, allocations: 150.6 kB / 1.068 GB, free: 11.52 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.105e-05/0.4818, allocations: 150.6 kB / 1.068 GB, free: 11.37 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004783/0.4823, allocations: 449.9 kB / 1.068 GB, free: 10.88 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001429/0.4825, allocations: 173.1 kB / 1.068 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.54e-05/0.4825, allocations: 80.14 kB / 1.068 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 5.122e-05/0.4826, allocations: 75.28 kB / 1.068 GB, free: 10.55 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.739e-05/0.4827, allocations: 109.8 kB / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 2.064e-06/0.4827, allocations: 0 / 1.069 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 0.0001249/0.4828, allocations: 33.58 kB / 1.069 GB, free: 10.39 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001241/0.483, allocations: 130.7 kB / 1.069 GB, free: 10.25 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001492/0.4832, allocations: 101.8 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 2.529e-05/0.4832, allocations: 29.64 kB / 1.069 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 6.461e-05/0.4833, allocations: 80.27 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.615e-06/0.4833, allocations: 4 kB / 1.069 GB, free: 10.02 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.331e-05/0.4833, allocations: 9.719 kB / 1.069 GB, free: 10 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001936/0.4836, allocations: 314.8 kB / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.314e-06/0.4836, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.097e-05/0.4836, allocations: 0 / 1.069 GB, free: 9.688 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.626e-05/0.4837, allocations: 75.28 kB / 1.069 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.948e-05/0.4837, allocations: 79.28 kB / 1.069 GB, free: 9.535 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001024/0.4839, allocations: 33.69 kB / 1.069 GB, free: 9.496 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 7.608e-05/0.4839, allocations: 83.31 kB / 1.069 GB, free: 9.414 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.829e-05/0.484, allocations: 87.2 kB / 1.07 GB, free: 9.328 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001171/0.4842, allocations: 154.6 kB / 1.07 GB, free: 9.176 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.428e-05/0.4842, allocations: 79.22 kB / 1.07 GB, free: 9.098 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.091e-05/0.4843, allocations: 150.7 kB / 1.07 GB, free: 8.949 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002144/0.4846, allocations: 75.3 kB / 1.07 GB, free: 8.875 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.503e-05/0.4846, allocations: 95.22 kB / 1.07 GB, free: 8.781 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 (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.0002055/0.4849, allocations: 262.9 kB / 1.07 GB, free: 8.516 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001161/0.485, allocations: 105 kB / 1.07 GB, free: 8.406 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.738e-05/0.4851, allocations: 112 kB / 1.071 GB, free: 8.289 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001176/0.4852, allocations: 176.3 kB / 1.071 GB, free: 8.109 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001234/0.4854, allocations: 188.2 kB / 1.071 GB, free: 7.918 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001192/0.4855, allocations: 184.3 kB / 1.071 GB, free: 7.73 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003955/0.4859, allocations: 393.2 kB / 1.071 GB, free: 7.289 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.664e-05/0.486, allocations: 112.9 kB / 1.072 GB, free: 7.172 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.314e-05/0.4861, allocations: 105 kB / 1.072 GB, free: 7.062 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001165/0.4862, allocations: 184.1 kB / 1.072 GB, free: 6.875 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001213/0.4863, allocations: 188.2 kB / 1.072 GB, free: 6.684 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001162/0.4865, allocations: 180.3 kB / 1.072 GB, free: 6.5 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001129/0.4866, allocations: 184.2 kB / 1.072 GB, free: 6.312 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002543/0.4869, allocations: 307.7 kB / 1.073 GB, free: 5.988 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001491/0.487, allocations: 186.1 kB / 1.073 GB, free: 5.781 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001307/0.4872, allocations: 180.2 kB / 1.073 GB, free: 5.598 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001455/0.4873, allocations: 108.9 kB / 1.073 GB, free: 5.484 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001362/0.4875, allocations: 180.3 kB / 1.073 GB, free: 5.301 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.487e-05/0.4876, allocations: 104.9 kB / 1.073 GB, free: 5.191 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.726e-05/0.4877, allocations: 87.22 kB / 1.073 GB, free: 5.105 MB / 0.8419 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4877, allocations: 4 kB / 1.073 GB, free: 5.102 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0004495/0.4882, allocations: 0 / 1.073 GB, free: 5.102 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.0004801/0.4887, allocations: 192.5 kB / 1.074 GB, free: 4.902 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 6.619e-05/0.4887, allocations: 7.984 kB / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.4888, allocations: 0 / 1.074 GB, free: 4.895 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.697e-06/0.4888, allocations: 4.094 kB / 1.074 GB, free: 4.891 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006148/0.4894, allocations: 453.8 kB / 1.074 GB, free: 4.445 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.4898, allocations: 190.5 kB / 1.074 GB, free: 4.227 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004376/0.4903, allocations: 0.6729 MB / 1.075 GB, free: 3.527 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.312e-05/0.4903, allocations: 7.438 kB / 1.075 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of SimCode: time 4.11e-07/0.4903, allocations: 0 / 1.075 GB, free: 3.52 MB / 0.8419 GB Notification: Performance of Templates: time 0.003347/0.4937, allocations: 483.6 kB / 1.075 GB, free: 3.051 MB / 0.8419 GB make -j1 -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches