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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001346/0.001346, allocations: 105.2 kB / 16.27 MB, free: 6.414 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.00146/0.00146, allocations: 191.5 kB / 17.2 MB, free: 5.953 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.374/1.374, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.667/2.667, allocations: 469.4 MB / 0.7427 GB, free: 3.625 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.00131/0.00131, allocations: 67.75 kB / 0.9088 GB, free: 14.11 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3662/0.3676, allocations: 159.1 MB / 1.064 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.WeatherData.BaseClasses.Examples.GetTimeSpanTMY3LongHeader): time 0.003328/0.371, allocations: 1.225 MB / 1.065 GB, free: 13.76 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001411/0.3724, allocations: 0.727 MB / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.34e-05/0.3725, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/0.3725, allocations: 0 / 1.066 GB, free: 13.03 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 0.0002997/0.3729, allocations: 15.92 kB / 1.066 GB, free: 13.01 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001126/0.373, allocations: 7.984 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 7.493e-05/0.3731, allocations: 8 kB / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.994e-05/0.3731, allocations: 0 / 1.066 GB, free: 13 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.043e-05/0.3732, allocations: 7.938 kB / 1.066 GB, free: 12.99 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002151/0.3734, allocations: 7.984 kB / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 2.052e-05/0.3734, allocations: 0 / 1.066 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 7.251e-05/0.3735, allocations: 11.98 kB / 1.066 GB, free: 12.97 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 5.665e-05/0.3736, allocations: 7.984 kB / 1.066 GB, free: 12.96 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 3.055e-05/0.3736, allocations: 7.938 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001029/0.3737, allocations: 4 kB / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.861e-06/0.3737, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3737, allocations: 0 / 1.066 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 7.224e-06/0.3738, allocations: 4 kB / 1.066 GB, free: 12.95 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.0004216/0.3742, allocations: 311.6 kB / 1.067 GB, free: 12.59 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.728e-05/0.3742, allocations: 16.56 kB / 1.067 GB, free: 12.57 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.587e-05/0.3743, allocations: 80.22 kB / 1.067 GB, free: 12.5 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001873/0.3745, allocations: 239.7 kB / 1.067 GB, free: 12.22 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.563e-05/0.3746, allocations: 150.9 kB / 1.067 GB, free: 12.07 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.902e-05/0.3747, allocations: 166.9 kB / 1.067 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.229e-05/0.3748, allocations: 101.5 kB / 1.067 GB, free: 11.8 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.342e-05/0.3748, allocations: 75.47 kB / 1.067 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.065e-05/0.3749, allocations: 154.5 kB / 1.067 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.835e-05/0.3749, allocations: 150.6 kB / 1.068 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.135e-05/0.375, allocations: 150.6 kB / 1.068 GB, free: 11.28 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003515/0.3754, allocations: 457.9 kB / 1.068 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 9.923e-05/0.3755, allocations: 169.1 kB / 1.068 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.601e-05/0.3755, allocations: 84.14 kB / 1.068 GB, free: 10.52 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.001e-05/0.3756, allocations: 75.28 kB / 1.068 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.97e-05/0.3756, allocations: 113.8 kB / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.3756, allocations: 0 / 1.069 GB, free: 10.33 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 9.101e-05/0.3757, allocations: 33.62 kB / 1.069 GB, free: 10.29 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.246e-05/0.3758, allocations: 134.6 kB / 1.069 GB, free: 10.14 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001125/0.3759, allocations: 93.86 kB / 1.069 GB, free: 10.04 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.552e-05/0.3759, allocations: 29.69 kB / 1.069 GB, free: 10.01 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.814e-05/0.376, allocations: 84.27 kB / 1.069 GB, free: 9.922 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.944e-06/0.376, allocations: 4 kB / 1.069 GB, free: 9.918 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.722e-05/0.376, allocations: 13.72 kB / 1.069 GB, free: 9.898 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001299/0.3761, allocations: 310.8 kB / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.38e-06/0.3762, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.8e-05/0.3762, allocations: 0 / 1.069 GB, free: 9.586 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.989e-05/0.3762, allocations: 79.28 kB / 1.069 GB, free: 9.508 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.577e-05/0.3762, allocations: 75.28 kB / 1.069 GB, free: 9.434 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0) (initialization): time 5.892e-05/0.3763, allocations: 25.7 kB / 1.069 GB, free: 9.402 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 4.364e-05/0.3764, allocations: 91.25 kB / 1.07 GB, free: 9.312 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.144e-05/0.3764, allocations: 83.2 kB / 1.07 GB, free: 9.23 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.332e-05/0.3765, allocations: 154.6 kB / 1.07 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.838e-05/0.3765, allocations: 79.22 kB / 1.07 GB, free: 9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.855e-05/0.3766, allocations: 158.5 kB / 1.07 GB, free: 8.844 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001362/0.3767, allocations: 79.22 kB / 1.07 GB, free: 8.766 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.3768, allocations: 79.28 kB / 1.07 GB, free: 8.688 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.0001412/0.3769, allocations: 262.9 kB / 1.07 GB, free: 8.422 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.377, allocations: 109 kB / 1.07 GB, free: 8.309 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.178e-05/0.377, allocations: 112.2 kB / 1.071 GB, free: 8.191 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.535e-05/0.3771, allocations: 180.3 kB / 1.071 GB, free: 8.008 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.76e-05/0.3772, allocations: 188.2 kB / 1.071 GB, free: 7.816 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.819e-05/0.3773, allocations: 176.3 kB / 1.071 GB, free: 7.637 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002433/0.3775, allocations: 409.2 kB / 1.072 GB, free: 7.18 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-05/0.3776, allocations: 104.9 kB / 1.072 GB, free: 7.07 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.929e-05/0.3776, allocations: 105 kB / 1.072 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.507e-05/0.3777, allocations: 184.2 kB / 1.072 GB, free: 6.773 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.491e-05/0.3778, allocations: 188.2 kB / 1.072 GB, free: 6.582 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.727e-05/0.3779, allocations: 176.3 kB / 1.072 GB, free: 6.402 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.474e-05/0.3779, allocations: 184.2 kB / 1.072 GB, free: 6.215 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001449/0.3781, allocations: 307.7 kB / 1.073 GB, free: 5.891 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.5e-05/0.3782, allocations: 182.1 kB / 1.073 GB, free: 5.688 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.289e-05/0.3783, allocations: 188.2 kB / 1.073 GB, free: 5.496 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.484e-05/0.3783, allocations: 104.9 kB / 1.073 GB, free: 5.387 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.472e-05/0.3784, allocations: 184.2 kB / 1.073 GB, free: 5.199 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.685e-05/0.3785, allocations: 108.9 kB / 1.073 GB, free: 5.086 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.354e-05/0.3785, allocations: 83.28 kB / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1e-07/0.3785, allocations: 0 / 1.074 GB, free: 5.004 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002962/0.3788, allocations: 4 kB / 1.074 GB, free: 5 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.0003202/0.3792, allocations: 190.4 kB / 1.074 GB, free: 4.805 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 5.371e-05/0.3792, allocations: 4 kB / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.453e-06/0.3792, allocations: 0 / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.122e-06/0.3792, allocations: 96 / 1.074 GB, free: 4.801 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3797, allocations: 459.7 kB / 1.074 GB, free: 4.348 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/0.3799, allocations: 190.5 kB / 1.074 GB, free: 4.129 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002626/0.3802, allocations: 0.669 MB / 1.075 GB, free: 3.434 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.615e-05/0.3802, allocations: 7.438 kB / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of SimCode: time 3.41e-07/0.3802, allocations: 0 / 1.075 GB, free: 3.426 MB / 0.8419 GB Notification: Performance of Templates: time 0.001967/0.3822, allocations: 493.9 kB / 1.075 GB, free: 2.949 MB / 0.8419 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/jenkins1/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