Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 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.GetTimeSpanTMY3LongHeader,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|timeSpan.2.|timeSpan.1.",fileNamePrefix="Buildings_10_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_10_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.005609/0.005609, allocations: 100.8 kB / 15.73 MB, free: 6 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.001367/0.001367, allocations: 189.2 kB / 16.67 MB, free: 5.934 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.484/1.484, allocations: 222.9 MB / 240.4 MB, free: 4.312 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.023 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001226/0.001226, allocations: 63.89 kB / 1.019 GB, free: 14.55 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.371/0.3723, allocations: 151.6 MB / 1.167 GB, free: 6.805 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.002367/0.3747, allocations: 1.245 MB / 1.168 GB, free: 5.547 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001098/0.3758, allocations: 0.7236 MB / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.844e-05/0.3759, allocations: 0 / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 3.021e-05/0.3759, allocations: 0 / 1.169 GB, free: 4.82 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 0.000238/0.3761, allocations: 15.91 kB / 1.169 GB, free: 4.805 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 8.356e-05/0.3762, allocations: 4 kB / 1.169 GB, free: 4.801 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 7.086e-05/0.3763, allocations: 11.94 kB / 1.169 GB, free: 4.789 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 5.54e-05/0.3764, allocations: 7.984 kB / 1.169 GB, free: 4.781 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 2.659e-05/0.3764, allocations: 3.938 kB / 1.169 GB, free: 4.777 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001892/0.3766, allocations: 7.984 kB / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.53e-05/0.3766, allocations: 0 / 1.169 GB, free: 4.77 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 4.595e-05/0.3767, allocations: 8 kB / 1.169 GB, free: 4.762 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 4.173e-05/0.3767, allocations: 4 kB / 1.169 GB, free: 4.758 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.24e-05/0.3768, allocations: 3.984 kB / 1.169 GB, free: 4.754 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 9.398e-05/0.3769, allocations: 11.98 kB / 1.169 GB, free: 4.742 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 7.214e-06/0.3769, allocations: 4 kB / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of FrontEnd: time 2.034e-06/0.3769, allocations: 0 / 1.169 GB, free: 4.738 MB / 0.92 GB Notification: Performance of Transformations before backend: time 1.05e-05/0.3769, allocations: 0 / 1.169 GB, free: 4.738 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.0003686/0.3773, allocations: 323.4 kB / 1.169 GB, free: 4.371 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 3.852e-05/0.3773, allocations: 8.031 kB / 1.169 GB, free: 4.363 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.151e-05/0.3774, allocations: 80.22 kB / 1.169 GB, free: 4.285 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000185/0.3776, allocations: 243.6 kB / 1.169 GB, free: 4.008 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.006e-05/0.3777, allocations: 154.9 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.379e-05/0.3777, allocations: 150.9 kB / 1.17 GB, free: 3.707 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.342e-05/0.3778, allocations: 105.5 kB / 1.17 GB, free: 3.598 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.948e-05/0.3778, allocations: 79.45 kB / 1.17 GB, free: 3.52 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.191e-05/0.3779, allocations: 158.5 kB / 1.17 GB, free: 3.363 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.238e-05/0.378, allocations: 158.5 kB / 1.17 GB, free: 3.207 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.585e-05/0.378, allocations: 150.6 kB / 1.17 GB, free: 3.059 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000321/0.3784, allocations: 449.9 kB / 1.171 GB, free: 2.57 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.047e-05/0.3784, allocations: 169.1 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.244e-05/0.3785, allocations: 84.08 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 2.751e-05/0.3785, allocations: 75.28 kB / 1.171 GB, free: 2.234 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.3786, allocations: 105.8 kB / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of pre-optimization done (n=0): time 8.21e-07/0.3786, allocations: 0 / 1.171 GB, free: 2.121 MB / 0.92 GB Notification: Performance of matching and sorting (n=0): time 9.168e-05/0.3787, allocations: 41.56 kB / 1.171 GB, free: 2.074 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.616e-05/0.3788, allocations: 134.7 kB / 1.171 GB, free: 1.93 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000113/0.3789, allocations: 93.86 kB / 1.171 GB, free: 1.828 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3789, allocations: 25.7 kB / 1.171 GB, free: 1.797 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.711e-05/0.3789, allocations: 80.14 kB / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.3789, allocations: 0 / 1.171 GB, free: 1.715 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.293e-05/0.379, allocations: 13.72 kB / 1.171 GB, free: 1.695 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001156/0.3791, allocations: 314.8 kB / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.217e-06/0.3791, allocations: 0 / 1.172 GB, free: 1.379 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.518e-05/0.3791, allocations: 8.109 kB / 1.172 GB, free: 1.371 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.246e-05/0.3792, allocations: 75.28 kB / 1.172 GB, free: 1.297 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.794e-05/0.3792, allocations: 75.28 kB / 1.172 GB, free: 1.223 MB / 0.92 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.702e-05/0.3793, allocations: 33.64 kB / 1.172 GB, free: 1.184 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 4.853e-05/0.3793, allocations: 79.28 kB / 1.172 GB, free: 1.105 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.265e-05/0.3794, allocations: 83.22 kB / 1.172 GB, free: 1.023 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.548e-05/0.3794, allocations: 154.6 kB / 1.172 GB, free: 0.8711 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.966e-05/0.3795, allocations: 83.25 kB / 1.172 GB, free: 0.7891 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.583e-05/0.3795, allocations: 154.5 kB / 1.172 GB, free: 0.6367 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001637/0.3797, allocations: 87.22 kB / 1.172 GB, free: 0.5508 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.545e-05/0.3797, allocations: 79.22 kB / 1.173 GB, free: 484 kB / 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 (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.0001309/0.3799, allocations: 260.4 kB / 1.173 GB, free: 212 kB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.3799, allocations: 109.1 kB / 1.173 GB, free: 96 kB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.849e-05/0.38, allocations: 108 kB / 1.173 GB, free: 15.98 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.899e-05/0.3801, allocations: 188.3 kB / 1.173 GB, free: 15.79 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.784e-05/0.3802, allocations: 184.2 kB / 1.173 GB, free: 15.6 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.595e-05/0.3802, allocations: 176.3 kB / 1.174 GB, free: 15.42 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002218/0.3805, allocations: 401.2 kB / 1.174 GB, free: 14.97 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-05/0.3805, allocations: 109 kB / 1.174 GB, free: 14.86 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.435e-05/0.3806, allocations: 105 kB / 1.174 GB, free: 14.75 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.069e-05/0.3806, allocations: 180.2 kB / 1.174 GB, free: 14.57 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.335e-05/0.3807, allocations: 180.2 kB / 1.174 GB, free: 14.38 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.435e-05/0.3808, allocations: 188.2 kB / 1.175 GB, free: 14.19 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.465e-05/0.3809, allocations: 184.3 kB / 1.175 GB, free: 14 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001502/0.381, allocations: 303.8 kB / 1.175 GB, free: 13.68 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 8.389e-05/0.3811, allocations: 182.1 kB / 1.175 GB, free: 13.48 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.81e-05/0.3812, allocations: 184.1 kB / 1.175 GB, free: 13.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.599e-05/0.3813, allocations: 101 kB / 1.176 GB, free: 13.19 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.3814, allocations: 192.3 kB / 1.176 GB, free: 12.99 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.931e-05/0.3814, allocations: 108.9 kB / 1.176 GB, free: 12.88 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 4.422e-05/0.3815, allocations: 79.28 kB / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3815, allocations: 0 / 1.176 GB, free: 12.8 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0002622/0.3818, allocations: 3.984 kB / 1.176 GB, free: 12.8 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.0003217/0.3821, allocations: 194.5 kB / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 5.053e-05/0.3821, allocations: 0 / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 2.495e-06/0.3822, allocations: 0 / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 1.152e-06/0.3822, allocations: 0 / 1.176 GB, free: 12.59 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003774/0.3825, allocations: 465 kB / 1.177 GB, free: 12.14 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002707/0.3828, allocations: 164.7 kB / 1.177 GB, free: 11.95 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002725/0.3831, allocations: 0.6729 MB / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 1.427e-05/0.3831, allocations: 0 / 1.177 GB, free: 11.25 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.576e-05/0.3831, allocations: 7.438 kB / 1.177 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of SimCode: time 4.11e-07/0.3831, allocations: 0 / 1.177 GB, free: 11.24 MB / 0.9356 GB Notification: Performance of Templates: time 0.002469/0.3856, allocations: 330.2 kB / 1.178 GB, free: 10.96 MB / 0.9356 GB make -j1 -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.makefile (rm -f Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; mkfifo Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe ; head -c 1048576 < Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe >> ../files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.sim & ./Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_BoundaryConditions_WeatherData_BaseClasses_Examples_GetTimeSpanTMY3LongHeader.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches