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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-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.001052/0.001052, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009789/0.009789, allocations: 170 kB / 16.26 MB, free: 6.613 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.382/1.382, allocations: 223.3 MB / 240.3 MB, free: 5.324 MB / 190.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/Experimental/DHC/UsersGuide/package.mo:2:1-389:15:writable] Warning: UsersGuide was referenced in the package.order file, but was not found in package.mo, UsersGuide/package.mo or UsersGuide.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.692/2.692, allocations: 443.3 MB / 0.7175 GB, free: 1.434 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003855/0.0003856, allocations: 9.25 kB / 0.8796 GB, free: 41.5 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3618/0.3622, allocations: 155.2 MB / 1.031 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.001241/0.3635, allocations: 0.9711 MB / 1.032 GB, free: 3.34 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001119/0.3646, allocations: 0.7077 MB / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.764e-05/0.3647, allocations: 0 / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.461e-05/0.3647, allocations: 0 / 1.033 GB, free: 2.629 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001984/0.3649, allocations: 11.94 kB / 1.033 GB, free: 2.617 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 7.556e-05/0.365, allocations: 11.98 kB / 1.033 GB, free: 2.605 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.198e-05/0.3651, allocations: 19.97 kB / 1.033 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.3651, allocations: 0 / 1.033 GB, free: 2.586 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.317e-05/0.3651, allocations: 4 kB / 1.033 GB, free: 2.582 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001494/0.3653, allocations: 4 kB / 1.033 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.31e-05/0.3653, allocations: 0 / 1.033 GB, free: 2.578 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 5.92e-05/0.3654, allocations: 19.91 kB / 1.033 GB, free: 2.559 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 4.4e-05/0.3654, allocations: 4 kB / 1.033 GB, free: 2.555 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.511e-05/0.3655, allocations: 29.64 kB / 1.033 GB, free: 2.52 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 7.276e-05/0.3656, allocations: 4 kB / 1.033 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.058e-06/0.3656, allocations: 0 / 1.033 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3656, allocations: 0 / 1.033 GB, free: 2.516 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.669e-06/0.3656, allocations: 4 kB / 1.033 GB, free: 2.512 MB / 0.7794 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.0002648/0.3659, allocations: 323.7 kB / 1.033 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.474e-05/0.3659, allocations: 12.09 kB / 1.033 GB, free: 2.133 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.993e-05/0.366, allocations: 76.22 kB / 1.033 GB, free: 2.059 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000178/0.3661, allocations: 247.6 kB / 1.033 GB, free: 1.777 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.427e-05/0.3662, allocations: 150.9 kB / 1.034 GB, free: 1.629 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.475e-05/0.3663, allocations: 158.9 kB / 1.034 GB, free: 1.473 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.252e-05/0.3663, allocations: 105.5 kB / 1.034 GB, free: 1.363 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.472e-05/0.3664, allocations: 79.47 kB / 1.034 GB, free: 1.285 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.234e-05/0.3664, allocations: 154.5 kB / 1.034 GB, free: 1.133 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.416e-05/0.3665, allocations: 150.6 kB / 1.034 GB, free: 0.9844 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.884e-05/0.3665, allocations: 150.6 kB / 1.034 GB, free: 0.8359 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002819/0.3668, allocations: 450 kB / 1.035 GB, free: 356 kB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.806e-05/0.3669, allocations: 173.1 kB / 1.035 GB, free: 172 kB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.847e-05/0.3669, allocations: 80.14 kB / 1.035 GB, free: 88 kB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.218e-05/0.367, allocations: 75.28 kB / 1.035 GB, free: 12 kB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.824e-05/0.367, allocations: 109.8 kB / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of pre-optimization done (n=0): time 8.41e-07/0.367, allocations: 0 / 1.035 GB, free: 15.89 MB / 0.795 GB Notification: Performance of matching and sorting (n=0): time 6.356e-05/0.3671, allocations: 33.64 kB / 1.035 GB, free: 15.86 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.976e-05/0.3672, allocations: 130.6 kB / 1.035 GB, free: 15.71 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.687e-05/0.3673, allocations: 97.86 kB / 1.035 GB, free: 15.61 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.3673, allocations: 25.7 kB / 1.036 GB, free: 15.58 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 3.94e-05/0.3673, allocations: 84.25 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.296e-06/0.3673, allocations: 4 kB / 1.036 GB, free: 15.49 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.753e-05/0.3674, allocations: 13.66 kB / 1.036 GB, free: 15.47 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 9.667e-05/0.3675, allocations: 310.8 kB / 1.036 GB, free: 15.16 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.627e-06/0.3675, allocations: 3.938 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.231e-05/0.3675, allocations: 4 kB / 1.036 GB, free: 15.15 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.589e-05/0.3675, allocations: 75.28 kB / 1.036 GB, free: 15.07 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.894e-05/0.3676, allocations: 75.28 kB / 1.036 GB, free: 15 MB / 0.795 GB Notification: Performance of matching and sorting (n=0) (initialization): time 4.837e-05/0.3676, allocations: 29.7 kB / 1.036 GB, free: 14.96 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 3.035e-05/0.3676, allocations: 87.31 kB / 1.036 GB, free: 14.88 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.867e-05/0.3677, allocations: 83.16 kB / 1.036 GB, free: 14.8 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.329e-05/0.3677, allocations: 158.5 kB / 1.036 GB, free: 14.64 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.444e-05/0.3678, allocations: 83.22 kB / 1.036 GB, free: 14.56 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.366e-05/0.3678, allocations: 154.5 kB / 1.037 GB, free: 14.41 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001377/0.368, allocations: 75.28 kB / 1.037 GB, free: 14.33 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.328e-05/0.368, allocations: 87.22 kB / 1.037 GB, free: 14.25 MB / 0.795 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.0001132/0.3681, allocations: 261.9 kB / 1.037 GB, free: 13.98 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.425e-05/0.3682, allocations: 109.2 kB / 1.037 GB, free: 13.87 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.398e-05/0.3683, allocations: 120 kB / 1.037 GB, free: 13.74 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.564e-05/0.3683, allocations: 176.3 kB / 1.037 GB, free: 13.56 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.451e-05/0.3684, allocations: 180.3 kB / 1.038 GB, free: 13.38 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.665e-05/0.3685, allocations: 184.2 kB / 1.038 GB, free: 13.19 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002143/0.3687, allocations: 401.2 kB / 1.038 GB, free: 12.74 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.304e-05/0.3687, allocations: 104.9 kB / 1.038 GB, free: 12.63 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.394e-05/0.3688, allocations: 101 kB / 1.038 GB, free: 12.52 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.184e-05/0.3689, allocations: 180.3 kB / 1.039 GB, free: 12.34 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.032e-05/0.369, allocations: 192.1 kB / 1.039 GB, free: 12.14 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.381e-05/0.369, allocations: 180.3 kB / 1.039 GB, free: 11.96 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.669e-05/0.3691, allocations: 180.2 kB / 1.039 GB, free: 11.78 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.3692, allocations: 303.8 kB / 1.039 GB, free: 11.46 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 8.179e-05/0.3693, allocations: 194 kB / 1.04 GB, free: 11.24 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.425e-05/0.3694, allocations: 180.2 kB / 1.04 GB, free: 11.06 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.006e-05/0.3695, allocations: 108.9 kB / 1.04 GB, free: 10.95 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.091e-05/0.3696, allocations: 180.2 kB / 1.04 GB, free: 10.76 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.641e-05/0.3696, allocations: 105 kB / 1.04 GB, free: 10.65 MB / 0.795 GB Notification: Performance of sorting global known variables: time 3.946e-05/0.3697, allocations: 83.22 kB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3697, allocations: 4.094 kB / 1.04 GB, free: 10.57 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0002485/0.3699, allocations: 4 kB / 1.04 GB, free: 10.56 MB / 0.795 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.00032/0.3702, allocations: 186.5 kB / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created initialization part: time 4.331e-05/0.3703, allocations: 4 kB / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.3703, allocations: 0 / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created simulation system equations: time 1.222e-06/0.3703, allocations: 0 / 1.04 GB, free: 10.37 MB / 0.795 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003801/0.3707, allocations: 0.5229 MB / 1.041 GB, free: 9.84 MB / 0.795 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002693/0.371, allocations: 177.9 kB / 1.041 GB, free: 9.637 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002351/0.3712, allocations: 0.6692 MB / 1.042 GB, free: 8.941 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.225e-05/0.3712, allocations: 0 / 1.042 GB, free: 8.941 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.456e-05/0.3712, allocations: 15.44 kB / 1.042 GB, free: 8.926 MB / 0.795 GB Notification: Performance of SimCode: time 2.51e-07/0.3713, allocations: 0 / 1.042 GB, free: 8.926 MB / 0.795 GB Notification: Performance of Templates: time 0.002426/0.3737, allocations: 299 kB / 1.042 GB, free: 8.668 MB / 0.795 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